diff options
-rw-r--r-- | engines/director/lingo/lingo-builtins.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/director/lingo/lingo-builtins.cpp b/engines/director/lingo/lingo-builtins.cpp index 3283db5282..ddac565783 100644 --- a/engines/director/lingo/lingo-builtins.cpp +++ b/engines/director/lingo/lingo-builtins.cpp @@ -1319,6 +1319,8 @@ void Lingo::b_installMenu(int nargs) { if (!command.empty()) { handlers += g_lingo->genMenuHandler(&commandId, command); submenuText += Common::String::format("[%d];", commandId); + } else { + submenuText += ';'; } } |