[MPlayer-cvslog] r35895 - trunk/gui/ui/actions.c
ib
subversion at mplayerhq.hu
Sat Jan 26 01:34:44 CET 2013
Author: ib
Date: Sat Jan 26 01:34:43 2013
New Revision: 35895
Log:
Exit GUI if we can't return to the skin we started with.
If there are errors in both the selected skin and the skin
we started with, there's nothing we can do but exit.
Modified:
trunk/gui/ui/actions.c
Modified: trunk/gui/ui/actions.c
==============================================================================
--- trunk/gui/ui/actions.c Sat Jan 26 01:17:08 2013 (r35894)
+++ trunk/gui/ui/actions.c Sat Jan 26 01:34:43 2013 (r35895)
@@ -597,8 +597,8 @@ void uiChangeSkin(char *name)
if (skinRead(name) != 0) {
if (skinRead(skinName) != 0) {
- mainVisible = True;
- return;
+ gmp_msg(MSGT_GPLAYER, MSGL_FATAL, MSGTR_SKIN_SKINCFG_SkinCfgError, skinName);
+ mplayer(MPLAYER_EXIT_GUI, EXIT_ERROR, 0);
}
}
More information about the MPlayer-cvslog
mailing list