changeset 15328:cc18c566a7cd

Fix --image-path option * octave.cc (octave_initialize_interpreter): Fix typo calling set_exec_path instead of set_image_path.
author Mike Miller <mtmiller@ieee.org>
date Fri, 07 Sep 2012 18:24:08 -0400
parents 81fe6665ed3c
children efbc896c1ecc
files libinterp/octave.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/octave.cc
+++ b/libinterp/octave.cc
@@ -953,7 +953,7 @@
     set_exec_path (exec_path);
 
   if (! image_path.empty ())
-    set_exec_path (image_path);
+    set_image_path (image_path);
 
   if (! info_file.empty ())
     bind_internal_variable ("info_file", info_file);