changeset 33268:445a104bfb0f

Instead of exit_player(), exit with appropriate return code. This closes Bugzilla #574.
author ib
date Tue, 03 May 2011 14:03:03 +0000
parents 5a2452e3404e
children 49ca38147d1f
files gui/interface.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gui/interface.c	Tue May 03 13:49:59 2011 +0000
+++ b/gui/interface.c	Tue May 03 14:03:03 2011 +0000
@@ -429,7 +429,7 @@
     }
 
     if (how != DONE)
-        exit_player(how);
+        exit_player_with_rc(how, how >= EXIT_ERROR);
 }
 
 void guiLoadFont(void)