shithub: choc

Download patch

ref: 9289c1b9f1b30b32e48e4956730b5a726b437661
parent: 3f7732e0e7fe70a7378ee9d56c046f502a69a342
author: Turo Lamminen <turotl@gmail.com>
date: Sat May 26 12:15:04 EDT 2018

video: Make I_SetWindowTitle parameter const

--- a/src/i_video.c
+++ b/src/i_video.c
@@ -862,7 +862,7 @@
 // Set the window title
 //
 
-void I_SetWindowTitle(char *title)
+void I_SetWindowTitle(const char *title)
 {
     window_title = title;
 }
--- a/src/i_video.h
+++ b/src/i_video.h
@@ -53,7 +53,7 @@
 
 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);