diff options
author | Simon Howard | 2011-10-20 22:00:46 +0000 |
---|---|---|
committer | Simon Howard | 2011-10-20 22:00:46 +0000 |
commit | 31a58552ffc647d2c87b557441d3725c6fba2b37 (patch) | |
tree | 093cf65027a121ddcf927fa772e503a6f502c545 /src/setup/execute.c | |
parent | abfc7bfe709000c1ca82654b64e6b43d3e06308a (diff) | |
download | chocolate-doom-31a58552ffc647d2c87b557441d3725c6fba2b37.tar.gz chocolate-doom-31a58552ffc647d2c87b557441d3725c6fba2b37.tar.bz2 chocolate-doom-31a58552ffc647d2c87b557441d3725c6fba2b37.zip |
Use TXT_MessageBox where appropriate.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2446
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 |