summaryrefslogtreecommitdiff
path: root/setup/mainmenu.c
diff options
context:
space:
mode:
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 55341c81..d4dfe0db 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();