changeset 22185:dc20b737ee79

* interpreter.cc (interpreter::interpreter): Fix typo in previous change.
author John W. Eaton <jwe@octave.org>
date Tue, 26 Jul 2016 10:40:46 -0400
parents a032ffb80704
children 9aff1ce307b1
files libinterp/corefcn/interpreter.cc
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/interpreter.cc	Tue Jul 26 09:49:56 2016 -0400
+++ b/libinterp/corefcn/interpreter.cc	Tue Jul 26 10:40:46 2016 -0400
@@ -626,13 +626,13 @@
       line_editing = false;
 
     // Force default line editor if we don't want readline editing.
-    if (line_editing)
+    if (! line_editing)
       octave::command_editor::force_default_editor ();
 
     // These can come after command line args since none of them set any
     // defaults that might be changed by command line options.
 
-    if (line_editing )
+    if (line_editing)
       initialize_command_input ();
 
     octave_interpreter_ready = true;