Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/menu.cc')
-rw-r--r--src/ui/menu.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/menu.cc b/src/ui/menu.cc
index 6931bd4..8421f7f 100644
--- a/src/ui/menu.cc
+++ b/src/ui/menu.cc
@@ -89,6 +89,9 @@ void Menu::load()
button->set_text(strval);
} else if (ini.got_key_string("command", strval)) {
+ for (size_t i =0; i <= strval.size(); i++) {
+ if (strval[i] == ',') strval[i] = ';';
+ }
button->set_command(strval);
} else if (ini.got_key_string("align", strval)) {