diff options
author | phintuka <phintuka> | 2006-08-26 15:24:50 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2006-08-26 15:24:50 +0000 |
commit | 0c6de0a299220f47ca0d9c0d33d9cf7015e82911 (patch) | |
tree | ce7bf5e90bd47d9a17a7ef58c4d869d5033f2db7 | |
parent | 43ee8c1dc7c6c93a72d33fee454d9e7fc2d04a62 (diff) | |
download | xineliboutput-0c6de0a299220f47ca0d9c0d33d9cf7015e82911.tar.gz xineliboutput-0c6de0a299220f47ca0d9c0d33d9cf7015e82911.tar.bz2 |
Restore terminal settings only if settings were saved and changed
-rw-r--r-- | xine_frontend_main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xine_frontend_main.c b/xine_frontend_main.c index daca2b41..8d45041e 100644 --- a/xine_frontend_main.c +++ b/xine_frontend_main.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: xine_frontend_main.c,v 1.11 2006-08-23 05:26:05 phintuka Exp $ + * $Id: xine_frontend_main.c,v 1.12 2006-08-26 15:24:50 phintuka Exp $ * */ @@ -456,9 +456,9 @@ int main(int argc, char *argv[]) if(!nokbd) { pthread_cancel (kbd_thread); pthread_join (kbd_thread, &p); - } - tcsetattr(STDIN_FILENO, TCSANOW, &saved_tm); + tcsetattr(STDIN_FILENO, TCSANOW, &saved_tm); + } fe->fe_free(fe); return 0; |