Make TXT_SetWindowHelpURL help_url parameter const
This commit is contained in:
parent
232c968ed9
commit
94d85c51b0
2 changed files with 2 additions and 2 deletions
|
|
@ -508,7 +508,7 @@ void TXT_SetWindowFocus(txt_window_t *window, int focused)
|
|||
TXT_SetWidgetFocus(window, focused);
|
||||
}
|
||||
|
||||
void TXT_SetWindowHelpURL(txt_window_t *window, char *help_url)
|
||||
void TXT_SetWindowHelpURL(txt_window_t *window, const char *help_url)
|
||||
{
|
||||
window->help_url = help_url;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -207,7 +207,7 @@ txt_window_t *TXT_MessageBox(const char *title, const char *message, ...);
|
|||
* window, or NULL to set no help for this window.
|
||||
*/
|
||||
|
||||
void TXT_SetWindowHelpURL(txt_window_t *window, char *help_url);
|
||||
void TXT_SetWindowHelpURL(txt_window_t *window, const char *help_url);
|
||||
|
||||
/**
|
||||
* Open the help URL for the given window, if one is set.
|
||||
|
|
|
|||
Loading…
Reference in a new issue