[MPlayer-cvslog] r33019 - in trunk/gui: app.c app.h skin/skin.c

ib subversion at mplayerhq.hu
Thu Mar 3 15:52:21 CET 2011


Author: ib
Date: Thu Mar  3 15:52:21 2011
New Revision: 33019

Log:
Cosmetic: Rename appInitStruct() to appFreeStruct().

The purpose of the function is to free, not to initialize.

Modified:
   trunk/gui/app.c
   trunk/gui/app.h
   trunk/gui/skin/skin.c

Modified: trunk/gui/app.c
==============================================================================
--- trunk/gui/app.c	Thu Mar  3 15:37:47 2011	(r33018)
+++ trunk/gui/app.c	Thu Mar  3 15:52:21 2011	(r33019)
@@ -114,7 +114,7 @@ void appResetStruct(void)
     appMPlayer.sub.y = -1;   // NOTE TO MYSELF: is this really necessary?
 }
 
-void appInitStruct(void)
+void appFreeStruct(void)
 {
     int i;
 

Modified: trunk/gui/app.h
==============================================================================
--- trunk/gui/app.h	Thu Mar  3 15:37:47 2011	(r33018)
+++ trunk/gui/app.h	Thu Mar  3 15:52:21 2011	(r33019)
@@ -189,7 +189,7 @@ typedef struct {
 extern listItems appMPlayer;
 
 int appFindMessage(unsigned char *);
-void appInitStruct(void);
+void appFreeStruct(void);
 void appResetStruct(void);
 void btnModify(int, float);
 void btnSet(int, int);

Modified: trunk/gui/skin/skin.c
==============================================================================
--- trunk/gui/skin/skin.c	Thu Mar  3 15:37:47 2011	(r33018)
+++ trunk/gui/skin/skin.c	Thu Mar  3 15:52:21 2011	(r33019)
@@ -885,7 +885,7 @@ int skinRead(char *dname)
 
     mp_dbg(MSGT_GPLAYER, MSGL_DBG2, "[skin] file: %s\n", fn);
 
-    appInitStruct();
+    appFreeStruct();
     fntFreeFont();
 
     linenumber = 0;


More information about the MPlayer-cvslog mailing list