Make TXT_SetDesktopTitle parameter const
This commit is contained in:
parent
8ec41dca6c
commit
83d0f369df
2 changed files with 2 additions and 2 deletions
|
|
@ -220,7 +220,7 @@ static void DrawHelpIndicator(void)
|
|||
TXT_DrawString("=Help ");
|
||||
}
|
||||
|
||||
void TXT_SetDesktopTitle(char *title)
|
||||
void TXT_SetDesktopTitle(const char *title)
|
||||
{
|
||||
free(desktop_title);
|
||||
desktop_title = strdup(title);
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ int TXT_WindowKeyPress(txt_window_t *window, int c);
|
|||
* @param title The title to display (UTF-8 format).
|
||||
*/
|
||||
|
||||
void TXT_SetDesktopTitle(char *title);
|
||||
void TXT_SetDesktopTitle(const char *title);
|
||||
|
||||
/**
|
||||
* Exit the currently-running main loop and return from the
|
||||
|
|
|
|||
Loading…
Reference in a new issue