Make TXT_SetWindowTitle parameter const
This commit is contained in:
parent
47091d24fb
commit
8ec41dca6c
2 changed files with 2 additions and 2 deletions
|
|
@ -180,7 +180,7 @@ void TXT_Sleep(int timeout);
|
|||
void TXT_SetInputMode(txt_input_mode_t mode);
|
||||
|
||||
// Set the window title of the window containing the text mode screen
|
||||
void TXT_SetWindowTitle(char *title);
|
||||
void TXT_SetWindowTitle(const char *title);
|
||||
|
||||
// Safe string copy.
|
||||
void TXT_StringCopy(char *dest, const char *src, size_t dest_len);
|
||||
|
|
|
|||
|
|
@ -890,7 +890,7 @@ void TXT_SetInputMode(txt_input_mode_t mode)
|
|||
input_mode = mode;
|
||||
}
|
||||
|
||||
void TXT_SetWindowTitle(char *title)
|
||||
void TXT_SetWindowTitle(const char *title)
|
||||
{
|
||||
SDL_SetWindowTitle(TXT_SDLWindow, title);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue