commit 9289c1b9f1b30b32e48e4956730b5a726b437661
Author: Turo Lamminen <turotl@gmail.com>
AuthorDate: Sat May 26 16:15:04 2018 +0300
Commit: Turo Lamminen <turotl@gmail.com>
CommitDate: Sat May 26 16:24:15 2018 +0300
video: Make I_SetWindowTitle parameter const
---
src/i_video.c | 2 +-
src/i_video.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/i_video.c b/src/i_video.c
index 667e61ba..05460255 100644
--- a/src/i_video.c
+++ b/src/i_video.c
@@ -862,7 +862,7 @@ int I_GetPaletteIndex(int r, int g, int b)
// Set the window title
//
-void I_SetWindowTitle(char *title)
+void I_SetWindowTitle(const char *title)
{
window_title = title;
}
diff --git a/src/i_video.h b/src/i_video.h
index 6e5c2e05..0e0ee4ec 100644
--- a/src/i_video.h
+++ b/src/i_video.h
@@ -53,7 +53,7 @@ void I_ReadScreen (pixel_t* scr);
void I_BeginRead (void);
-void I_SetWindowTitle(char *title);
+void I_SetWindowTitle(const char *title);
void I_CheckIsScreensaver(void);
void I_SetGrabMouseCallback(grabmouse_callback_t func);