diff src/variables.cc @ 4438:4cc739e3cbd8

[project @ 2003-06-26 16:01:45 by jwe]
author jwe
date Thu, 26 Jun 2003 16:01:45 +0000
parents 0a59e4de215e
children f3c21a1d1c62
line wrap: on
line diff
--- a/src/variables.cc
+++ b/src/variables.cc
@@ -597,7 +597,7 @@
 	  octave_function *f = t.function_value (true);
 	  std::string s = f ? f->fcn_file_name () : std::string ();
 
-	  retval = s.empty () ? 103 : 2;
+	  retval = s.empty () ? 103 : (sr->is_user_function () ? 2 : 3);
 	}
     }