# HG changeset patch # User ib # Date 1299163941 0 # Node ID e95ec1b2feea0a737e819d6ed033455f794ef181 # Parent 03b1051bed5c465e0ae799c5f9323905fd4747d5 Cosmetic: Rename appInitStruct() to appFreeStruct(). The purpose of the function is to free, not to initialize. diff -r 03b1051bed5c -r e95ec1b2feea gui/app.c --- 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; diff -r 03b1051bed5c -r e95ec1b2feea gui/app.h --- 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); diff -r 03b1051bed5c -r e95ec1b2feea gui/skin/skin.c --- 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;