[MPlayer-cvslog] r33153 - trunk/gui/skin/skin.c
ib
subversion at mplayerhq.hu
Wed Mar 30 13:06:57 CEST 2011
Author: ib
Date: Wed Mar 30 13:06:57 2011
New Revision: 33153
Log:
Don't start GUI in case of window name error.
Modified:
trunk/gui/skin/skin.c
Modified: trunk/gui/skin/skin.c
==============================================================================
--- trunk/gui/skin/skin.c Wed Mar 30 13:01:55 2011 (r33152)
+++ trunk/gui/skin/skin.c Wed Mar 30 13:06:57 2011 (r33153)
@@ -191,8 +191,10 @@ static int cmd_window(char *in)
currWin = &appMPlayer.menuBase;
currWinItemIdx = &appMPlayer.IndexOfMenuItems;
currWinItems = appMPlayer.menuItems;
- } else
+ } else {
skin_error(MSGTR_SKIN_UNKNOWN_NAME, in);
+ return 1;
+ }
mp_dbg(MSGT_GPLAYER, MSGL_DBG2, "[skin] window: %s\n", currWinName);
More information about the MPlayer-cvslog
mailing list