changeset 15291:99db33cae82b

don't start the GUI if window system is disabled * libinterp/octave.cc (octave_starting_gui): Check no_window_system.
author Mike Miller <mtmiller@ieee.org>
date Tue, 04 Sep 2012 18:43:28 -0400
parents 27bdffcb41c5
children 7ae14907ae43
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
@@ -1083,7 +1083,7 @@
 int
 octave_starting_gui (void)
 {
-  if (! display_info::display_available ())
+  if (no_window_system || ! display_info::display_available ())
     return false;
 
   if (force_gui_option)