Index: trunk/FACT++/src/InterpreterV8.cc
===================================================================
--- trunk/FACT++/src/InterpreterV8.cc	(revision 14986)
+++ trunk/FACT++/src/InterpreterV8.cc	(revision 14987)
@@ -1822,5 +1822,5 @@
     // If all went well and the result wasn't undefined then print
     // the returned value.
-    if (!result.IsEmpty() && result->IsUndefined())
+    if (!result.IsEmpty() && !result->IsUndefined())
         JsResult(*String::AsciiValue(result));
 
