Make TXT_MessageBox message parameter const
This commit is contained in:
parent
6283e91fbd
commit
334232d3b4
2 changed files with 2 additions and 2 deletions
|
|
@ -566,7 +566,7 @@ void TXT_OpenWindowHelpURL(txt_window_t *window)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
txt_window_t *TXT_MessageBox(char *title, char *message, ...)
|
txt_window_t *TXT_MessageBox(char *title, const char *message, ...)
|
||||||
{
|
{
|
||||||
txt_window_t *window;
|
txt_window_t *window;
|
||||||
char buf[256];
|
char buf[256];
|
||||||
|
|
|
||||||
|
|
@ -197,7 +197,7 @@ void TXT_SetMouseListener(txt_window_t *window,
|
||||||
* @return The new window.
|
* @return The new window.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
txt_window_t *TXT_MessageBox(char *title, char *message, ...);
|
txt_window_t *TXT_MessageBox(char *title, const char *message, ...);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the help URL for the given window.
|
* Set the help URL for the given window.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue