[MPlayer-cvslog] r33154 - trunk/gui/skin/skin.c

ib subversion at mplayerhq.hu
Wed Mar 30 13:15:03 CEST 2011


Author: ib
Date: Wed Mar 30 13:15:03 2011
New Revision: 33154

Log:
Issue error message in case of wrong section name.

Modified:
   trunk/gui/skin/skin.c

Modified: trunk/gui/skin/skin.c
==============================================================================
--- trunk/gui/skin/skin.c	Wed Mar 30 13:06:57 2011	(r33153)
+++ trunk/gui/skin/skin.c	Wed Mar 30 13:15:03 2011	(r33154)
@@ -125,6 +125,10 @@ static int cmd_section(char *in)
 
     if (!strcmp(strlower(in), "movieplayer"))
         skin = &appMPlayer;
+    else {
+        skin_error(MSGTR_SKIN_UNKNOWN_NAME, in);
+        return 1;
+    }
 
     mp_dbg(MSGT_GPLAYER, MSGL_DBG2, "[skin]  section: %s\n", in);
 


More information about the MPlayer-cvslog mailing list