foxygit / doom Log in
commit 25ce5f9c2b723a39c9b97079b4a2fd5a09b057ec
Author:     Simon Howard <fraggle@soulsphere.org>
AuthorDate: Sun Feb 28 14:44:45 2016 -0500
Commit:     Simon Howard <fraggle@soulsphere.org>
CommitDate: Sun Feb 28 14:44:45 2016 -0500

    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.
---
 src/i_endoom.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/i_endoom.c b/src/i_endoom.c
index 5cbf0f04..9beacc90 100644
--- a/src/i_endoom.c
+++ b/src/i_endoom.c
@@ -40,8 +40,10 @@ void I_Endoom(byte *endoom_data)
     // 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