changeset 1736:1a8e6e3bee3d

getch2 vs. gui fixed
author arpi
date Tue, 28 Aug 2001 21:47:20 +0000
parents bdc1ec6fe668
children 00505a8fa2b4
files mplayer.c
diffstat 1 files changed, 0 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Tue Aug 28 21:35:04 2001 +0000
+++ b/mplayer.c	Tue Aug 28 21:47:20 2001 +0000
@@ -280,12 +280,7 @@
  total_time_usage_start=GetTimer()-total_time_usage_start;
 
   // restore terminal:
-#ifdef HAVE_NEW_GUI
-   if ( !use_gui ) getch2_disable();
-#else
    getch2_disable();
-#endif
-     
 
 #ifdef USE_LIBVO2
   if(video_out) vo2_close(video_out);
@@ -1808,11 +1803,7 @@
     // partial uninit:
 
   // restore terminal:
-#ifdef HAVE_NEW_GUI
-   if ( !use_gui ) getch2_disable();
-#else
    getch2_disable();
-#endif
 
   current_module="uninit_vo";