changeset 32945:15aecb36f23e

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.
author ib
date Sun, 06 Mar 2011 12:21:52 +0000
parents 27a98940e3aa
children d551faf8d07e
files gui/app.c gui/app.h gui/interface.c
diffstat 3 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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();
 }
 
--- 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);
 
--- 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( &gtkEquChannels,0,sizeof( gtkEquChannels ) );
 #ifdef CONFIG_DXR3