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

ib subversion at mplayerhq.hu
Thu Mar 31 11:37:12 CEST 2011


Author: ib
Date: Thu Mar 31 11:37:12 2011
New Revision: 33165

Log:
Reset skin pointer and window name.

After freeing the guiItems structure, these internal variables
must be reset, too.

Modified:
   trunk/gui/skin/skin.c

Modified: trunk/gui/skin/skin.c
==============================================================================
--- trunk/gui/skin/skin.c	Thu Mar 31 11:09:54 2011	(r33164)
+++ trunk/gui/skin/skin.c	Thu Mar 31 11:37:12 2011	(r33165)
@@ -889,6 +889,8 @@ int skinRead(char *dname)
 
     appFreeStruct();
 
+    skin = NULL;
+    currWinName[0] = 0;
     linenumber = 0;
 
     while (fgets(tmp, sizeof(tmp), skinFile)) {


More information about the MPlayer-cvslog mailing list