summaryrefslogtreecommitdiff
path: root/setup/mainmenu.c
diff options
context:
space:
mode:
authorSimon Howard2008-12-10 00:42:49 +0000
committerSimon Howard2008-12-10 00:42:49 +0000
commitaed280e13947099544f584077e9cd893ddeaf9e5 (patch)
tree291382277cca084f2ee937b25b2f3566f5844078 /setup/mainmenu.c
parentb22df6a13aedecce1818c41eb38b265b066f3eda (diff)
downloadchocolate-doom-aed280e13947099544f584077e9cd893ddeaf9e5.tar.gz
chocolate-doom-aed280e13947099544f584077e9cd893ddeaf9e5.tar.bz2
chocolate-doom-aed280e13947099544f584077e9cd893ddeaf9e5.zip
Set icon before calling TXT_Init, for setup and ENDOOM screens.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1416
Diffstat (limited to 'setup/mainmenu.c')
-rw-r--r--setup/mainmenu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/setup/mainmenu.c b/setup/mainmenu.c
index d4dfe0db..55341c81 100644
--- a/setup/mainmenu.c
+++ b/setup/mainmenu.c
@@ -193,15 +193,15 @@ static void RunGUI(void)
{
SetDisplayDriver();
+ TXT_SetDesktopTitle(PACKAGE_NAME " Setup ver " PACKAGE_VERSION);
+ SetIcon();
+
if (!TXT_Init())
{
fprintf(stderr, "Failed to initialise GUI\n");
exit(-1);
}
- TXT_SetDesktopTitle(PACKAGE_NAME " Setup ver " PACKAGE_VERSION);
- SetIcon();
-
MainMenu();
TXT_GUIMainLoop();