Commit 6210a20b authored by BRAMAS Berenger's avatar BRAMAS Berenger

update the fenv class to considere 1 as true for bool

parent 2b29f3e1
...@@ -66,7 +66,7 @@ public: ...@@ -66,7 +66,7 @@ public:
if(!value){ if(!value){
return defaultValue; return defaultValue;
} }
return (strcmp(value,"TRUE") == 0) || (strcmp(value,"true") == 0); return (strcmp(value,"TRUE") == 0) || (strcmp(value,"true") == 0 || (strcmp(value,"1") == 0);
} }
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment