diff options
Diffstat (limited to 'src/setup/execute.c')
-rw-r--r-- | src/setup/execute.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/setup/execute.c b/src/setup/execute.c index f85b8af4..96a14fae 100644 --- a/src/setup/execute.c +++ b/src/setup/execute.c @@ -370,14 +370,10 @@ static void TestCallback(TXT_UNCAST_ARG(widget), TXT_UNCAST_ARG(data)) char *main_cfg; char *extra_cfg; txt_window_t *testwindow; - txt_label_t *label; - testwindow = TXT_NewWindow("Starting Doom"); - - label = TXT_NewLabel("Starting Doom to test the\n" - "settings. Please wait."); - TXT_SetWidgetAlign(label, TXT_HORIZ_CENTER); - TXT_AddWidget(testwindow, label); + testwindow = TXT_MessageBox("Starting Doom", + "Starting Doom to test the\n" + "settings. Please wait."); TXT_DrawDesktop(); // Save temporary configuration files with the current configuration |