Make TXT_MessageBox title character const
This commit is contained in:
parent
334232d3b4
commit
10fda2ac53
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, const char *message, ...)
|
||||
txt_window_t *TXT_MessageBox(const char *title, const char *message, ...)
|
||||
{
|
||||
txt_window_t *window;
|
||||
char buf[256];
|
||||
|
|
|
|||
|
|
@ -197,7 +197,7 @@ void TXT_SetMouseListener(txt_window_t *window,
|
|||
* @return The new window.
|
||||
*/
|
||||
|
||||
txt_window_t *TXT_MessageBox(char *title, const char *message, ...);
|
||||
txt_window_t *TXT_MessageBox(const char *title, const char *message, ...);
|
||||
|
||||
/**
|
||||
* Set the help URL for the given window.
|
||||
|
|
|
|||
Loading…
Reference in a new issue