changeset 16243:428da5debfe4

maint: Remove commented out lines from history fix in changeset 2a81ce01c383. * libinterp/interpfcn/oct-hist.cc: Remove commented out lines from history fix in changeset 2a81ce01c383.
author Rik <rik@octave.org>
date Sun, 10 Mar 2013 09:11:44 -0700
parents 2a81ce01c383
children b74c4e967f76
files libinterp/interpfcn/oct-hist.cc
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/interpfcn/oct-hist.cc
+++ b/libinterp/interpfcn/oct-hist.cc
@@ -231,9 +231,6 @@
         }
     }
 
-//  if (limit < 0)
-//    limit = -limit;
-
   hlist = command_history::list (limit, numbered_output);
 
   int len = hlist.length ();
@@ -578,7 +575,7 @@
 static void
 do_run_history (const octave_value_list& args)
 {
-  std::string name = mk_tmp_hist_file (args, true, "run_history");
+  std::string name = mk_tmp_hist_file (args, false, "run_history");
 
   if (name.empty ())
     return;