gcc warning fxi
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1970 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -15,7 +15,7 @@ void menuset(void *m)
|
||||
if((curmenu = (gmenu *)m)) curmenu->open();
|
||||
}
|
||||
|
||||
void showmenu(char *name)
|
||||
void showmenu(const char *name)
|
||||
{
|
||||
if(!name)
|
||||
{
|
||||
@@ -769,4 +769,5 @@ void refreshapplymenu(void *menu, bool init)
|
||||
m->items.add(new mitemtext(m, newstring("Yes"), newstring("resetgl"), NULL, NULL));
|
||||
m->items.add(new mitemtext(m, newstring("No"), newstring("echo [..restart AssaultCube to apply the new settings]"), NULL, NULL));
|
||||
m->menusel = m->items.length()-2; // select OK
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -84,7 +84,7 @@ extern void *addmenu(const char *name, const char *title = NULL, bool allowinput
|
||||
extern void rendermenumdl();
|
||||
extern void menuset(void *m);
|
||||
extern void menuselect(void *menu, int sel);
|
||||
extern void showmenu(char *name);
|
||||
extern void showmenu(const char *name);
|
||||
extern void addchange(const char *desc);
|
||||
extern void refreshapplymenu(void *menu, bool init);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user