Commit a6e173f6 authored by BRAMAS Berenger's avatar BRAMAS Berenger
Browse files

update the fenv class to considere 1 as true for bool

parent eb2be114
...@@ -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 || (strcmp(value,"1") == 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