diff gui/skin/skin.c @ 33065:83c226105086

Rename and revise error message. This gives better information and allows usage at other places, too.
author ib
date Wed, 30 Mar 2011 11:01:55 +0000
parents 33d307c4430c
children fd4d66a6add6
line wrap: on
line diff
--- a/gui/skin/skin.c	Wed Mar 30 10:36:52 2011 +0000
+++ b/gui/skin/skin.c	Wed Mar 30 11:01:55 2011 +0000
@@ -192,7 +192,7 @@
         currWinItemIdx = &appMPlayer.IndexOfMenuItems;
         currWinItems   = appMPlayer.menuItems;
     } else
-        skin_error(MSGTR_UNKNOWNWINDOWTYPE);
+        skin_error(MSGTR_SKIN_UNKNOWN_NAME, in);
 
     mp_dbg(MSGT_GPLAYER, MSGL_DBG2, "[skin]   window: %s\n", currWinName);