]> www.hackdaworld.org Git - physik/nlsop.git/commitdiff
shutdown order changed, restore orig termios struct.
authorhackbard <hackbard>
Mon, 8 Nov 2004 08:11:51 +0000 (08:11 +0000)
committerhackbard <hackbard>
Mon, 8 Nov 2004 08:11:51 +0000 (08:11 +0000)
nlsop_gui.c

index 78cc86b8efb04bd96bc399aa8edc94737c63cf6a..8464fafa2fcda678015d919e74401f339900c307 100644 (file)
@@ -276,8 +276,8 @@ int get_command(t_event *event,void *allineed) {
         /* stop everything */
         event_math(0,event,READ,REMOVE);
         network_shutdown(net);
         /* stop everything */
         event_math(0,event,READ,REMOVE);
         network_shutdown(net);
-        display_shutdown(display);
         input_shutdown(input);
         input_shutdown(input);
+        display_shutdown(display);
         event_stop(event);
         return 2;
       default:
         event_stop(event);
         return 2;
       default: