Make TXT_MessageBox message parameter const

This commit is contained in:
Turo Lamminen 2018-03-13 19:25:51 +02:00
parent 6283e91fbd
commit 334232d3b4
2 changed files with 2 additions and 2 deletions

View file

@ -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];

View file

@ -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.