shithub: choc

Download patch

ref: 25ce5f9c2b723a39c9b97079b4a2fd5a09b057ec
parent: 6ad2f405b91c28123caff76eb370d9486b4cb2a2
author: Simon Howard <fraggle@soulsphere.org>
date: Sun Feb 28 09:44:45 EST 2016

endoom: Show something in the window title.

The old code that calls I_SetWindowTitle() is broken now, since in
SDL2 the ENDOOM and game screens are different windows. Add an
SDL2-TODO comment and use PACKAGE_STRING as the window title for the
time being.

--- a/src/i_endoom.c
+++ b/src/i_endoom.c
@@ -40,8 +40,10 @@
     // Set up text mode screen
 
     TXT_Init();
-    I_InitWindowTitle();
-    I_InitWindowIcon();
+
+    TXT_SetWindowTitle(PACKAGE_STRING);
+    // SDL2-TODO I_InitWindowTitle();
+    // SDL2-TODO I_InitWindowIcon();
 
     // Write the data to the screen memory