Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/mainmenu.cc')
-rw-r--r--src/client/mainmenu.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/mainmenu.cc b/src/client/mainmenu.cc
index 7271bcf..7374224 100644
--- a/src/client/mainmenu.cc
+++ b/src/client/mainmenu.cc
@@ -116,9 +116,10 @@ void MainMenu::load_definitions()
if (ini.got_key_label("label", strval)) {
dialog = new Dialog(this);
dialog->set_label(strval);
+ } else {
+ ini.unknown_error("dialog definition requires label first");
}
} else {
-
if (ini.got_key_label("label", strval)) {
dialog->set_label(strval);