diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/net_gui.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/net_gui.c b/src/net_gui.c index 51ceb1f8..f322da15 100644 --- a/src/net_gui.c +++ b/src/net_gui.c @@ -223,7 +223,12 @@ static void CheckMD5Sums(void) void NET_WaitForStart(void) { - TXT_Init(); + if (!TXT_Init()) + { + fprintf(stderr, "Failed to initialise GUI\n"); + exit(-1); + } + I_SetWindowCaption(); I_SetWindowIcon(); |