changeset 14866:2309812f428e

Use explicit false and true instead of 0 and 1 * ov-usr-fcn.cc (octave_user_function::mark_as_system_fcn_file): Replace logical 1 with true and logical 0 with false
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
date Mon, 16 Jul 2012 17:32:27 -0400
parents bbdc822be2b9
children 97ce18b62d0f
files src/ov-usr-fcn.cc
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ov-usr-fcn.cc	Sat Jul 14 09:59:41 2012 -0700
+++ b/src/ov-usr-fcn.cc	Mon Jul 16 17:32:27 2012 -0400
@@ -261,10 +261,10 @@
       std::string ff_name = fcn_file_in_path (file_name);
 
       if (Vfcn_file_dir == ff_name.substr (0, Vfcn_file_dir.length ()))
-        system_fcn_file = 1;
+        system_fcn_file = true;
     }
   else
-    system_fcn_file = 0;
+    system_fcn_file = false;
 }
 
 bool