# HG changeset patch # User ib # Date 1299414112 0 # Node ID 15aecb36f23eea38863b21de124ad89cd49516b2 # Parent 27a98940e3aabb92ab338d1f7f9d25e28f7e6993 Cosmetic: Rename appResetStruct() appInitStruct(). After the old appInitStruct() got renamed, the more appropriate name 'appInitStruct' can be used now for the function that does initialization. diff -r 27a98940e3aa -r 15aecb36f23e gui/app.c --- a/gui/app.c Sun Mar 06 11:55:52 2011 +0000 +++ b/gui/app.c Sun Mar 06 12:21:52 2011 +0000 @@ -104,7 +104,7 @@ item->tmp = 0; } -void appResetStruct(void) +void appInitStruct(void) { appMPlayer.IndexOfMainItems = -1; appMPlayer.IndexOfBarItems = -1; @@ -137,7 +137,7 @@ for (i = 0; i <= appMPlayer.IndexOfMenuItems; i++) appClearItem(&appMPlayer.menuItems[i]); - appResetStruct(); + appInitStruct(); fntFreeFont(); } diff -r 27a98940e3aa -r 15aecb36f23e gui/app.h --- a/gui/app.h Sun Mar 06 11:55:52 2011 +0000 +++ b/gui/app.h Sun Mar 06 12:21:52 2011 +0000 @@ -194,7 +194,7 @@ int appFindMessage(unsigned char *); void appFreeStruct(void); -void appResetStruct(void); +void appInitStruct(void); void btnModify(int, float); void btnSet(int, int); diff -r 27a98940e3aa -r 15aecb36f23e gui/interface.c --- a/gui/interface.c Sun Mar 06 11:55:52 2011 +0000 +++ b/gui/interface.c Sun Mar 06 12:21:52 2011 +0000 @@ -163,7 +163,7 @@ guiIntfStruct.Balance=50.0f; guiIntfStruct.StreamType=-1; - appResetStruct(); + appInitStruct(); memset( >kEquChannels,0,sizeof( gtkEquChannels ) ); #ifdef CONFIG_DXR3