Make TXT_MessageBox title character const

This commit is contained in:
Turo Lamminen 2018-03-13 19:27:18 +02:00
parent 334232d3b4
commit 10fda2ac53
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, const char *message, ...)
txt_window_t *TXT_MessageBox(const char *title, const char *message, ...)
{
txt_window_t *window;
char buf[256];

View file

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