changeset 32932:e95ec1b2feea

Cosmetic: Rename appInitStruct() to appFreeStruct(). The purpose of the function is to free, not to initialize.
author ib
date Thu, 03 Mar 2011 14:52:21 +0000
parents 03b1051bed5c
children 258baf2bfeca
files gui/app.c gui/app.h gui/skin/skin.c
diffstat 3 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/gui/app.c	Thu Mar 03 14:37:47 2011 +0000
+++ b/gui/app.c	Thu Mar 03 14:52:21 2011 +0000
@@ -114,7 +114,7 @@
     appMPlayer.sub.y = -1;   // NOTE TO MYSELF: is this really necessary?
 }
 
-void appInitStruct(void)
+void appFreeStruct(void)
 {
     int i;
 
--- a/gui/app.h	Thu Mar 03 14:37:47 2011 +0000
+++ b/gui/app.h	Thu Mar 03 14:52:21 2011 +0000
@@ -189,7 +189,7 @@
 extern listItems appMPlayer;
 
 int appFindMessage(unsigned char *);
-void appInitStruct(void);
+void appFreeStruct(void);
 void appResetStruct(void);
 void btnModify(int, float);
 void btnSet(int, int);
--- a/gui/skin/skin.c	Thu Mar 03 14:37:47 2011 +0000
+++ b/gui/skin/skin.c	Thu Mar 03 14:52:21 2011 +0000
@@ -885,7 +885,7 @@
 
     mp_dbg(MSGT_GPLAYER, MSGL_DBG2, "[skin] file: %s\n", fn);
 
-    appInitStruct();
+    appFreeStruct();
     fntFreeFont();
 
     linenumber = 0;