changeset 33697:7c93ed3e80cd

Cosmetic: Move command MP_CMD_QUIT to the end.
author ib
date Wed, 29 Jun 2011 15:26:03 +0000
parents 24d919fb6778
children bffd8186ae31
files gui/interface.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/gui/interface.c	Wed Jun 29 15:22:22 2011 +0000
+++ b/gui/interface.c	Wed Jun 29 15:26:03 2011 +0000
@@ -603,10 +603,6 @@
         mp_dbg(MSGT_GPLAYER, MSGL_DBG2, "[interface] guiRunCommand: %d\n", (int)arg);
 
         switch ((int)arg) {
-        case MP_CMD_QUIT:
-            uiEventHandling(evExit, 0);
-            break;
-
         case MP_CMD_VO_FULLSCREEN:
             uiEventHandling(evFullScreen, 0);
             break;
@@ -622,6 +618,10 @@
         case MP_CMD_STOP:
             uiEventHandling(evStop, 0);
             break;
+
+        case MP_CMD_QUIT:
+            uiEventHandling(evExit, 0);
+            break;
         }
 
         break;