--- src/Value.cc.orig 2017-09-03 15:39:37 UTC
+++ src/Value.cc
@@ -146,10 +146,10 @@ namespace enigma {
val.str[0] = 0;
break;
case BOOL :
- val.dval[0] = false;
+ val.dval[0] = 0;
case OBJECT :
- val.dval[0] = (double) NULL;
case NAMEDOBJECT:
ASSERT(false, XLevelRuntime, "Value: illegal type usage");
-
--- src/lev/Proxy.cc.orig 2017-09-03 15:54:50 UTC
+++ src/lev/Proxy.cc
@@ -933,7 +933,7 @@ namespace enigma { namespace lev {
} else if (haveLocalCopy) {
// plain file
basic_ifstream<char> ifs(absExtPath.c_str(), ios::binary | ios::in);
- if (ifs != NULL)
+ if (ifs)
Readfile(ifs, extCode);
else
haveLocalCopy = false;