Rename MessageBoxN (meant to go with previous commit)

This commit is contained in:
Chris Taylor 2012-04-17 16:14:18 +08:00
parent ef2df1225d
commit 0ec49d71bd
2 changed files with 3 additions and 3 deletions

View file

@ -326,7 +326,7 @@ extern unsigned int ui_event_counter;
int ui_get_file( char * filename, char * Filespec );
int MessageBoxN( short xc, short yc, int NumButtons, char * text, char * Button[] );
int ui_messagebox_n( short xc, short yc, int NumButtons, char * text, char * Button[] );
void ui_draw_icon( UI_GADGET_ICON * icon );
int ui_icon_do( UI_DIALOG *dlg, UI_GADGET_ICON * icon, struct d_event *event );

View file

@ -90,7 +90,7 @@ static int messagebox_handler(UI_DIALOG *dlg, d_event *event, messagebox *m)
return 0;
}
int MessageBoxN( short xc, short yc, int NumButtons, char * text, char * Button[] )
int ui_messagebox_n( short xc, short yc, int NumButtons, char * text, char * Button[] )
{
UI_DIALOG * dlg;
messagebox *m;
@ -235,6 +235,6 @@ int ui_messagebox( short xc, short yc, int NumButtons, char * text, ... )
va_end( marker );
return MessageBoxN( xc, yc, NumButtons, text, Button );
return ui_messagebox_n( xc, yc, NumButtons, text, Button );
}