diff options
author | Eugene Sandulenko | 2020-01-07 21:59:45 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2020-01-07 21:59:45 +0100 |
commit | 3002f078753de2cd2e51f5f7ec35fb82953aa134 (patch) | |
tree | e6986950bdefb6a73f1be8a7ab69615f3e8a9fe3 /engines/director | |
parent | 8c8a710d80394a7c60456cfdfded46d222c5ee21 (diff) | |
download | scummvm-rg350-3002f078753de2cd2e51f5f7ec35fb82953aa134.tar.gz scummvm-rg350-3002f078753de2cd2e51f5f7ec35fb82953aa134.tar.bz2 scummvm-rg350-3002f078753de2cd2e51f5f7ec35fb82953aa134.zip |
DIRECTOR: LINGO: Fix warnings
Diffstat (limited to 'engines/director')
-rw-r--r-- | engines/director/lingo/lingo.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/director/lingo/lingo.cpp b/engines/director/lingo/lingo.cpp index 31f2046b08..36a0c6368d 100644 --- a/engines/director/lingo/lingo.cpp +++ b/engines/director/lingo/lingo.cpp @@ -301,6 +301,7 @@ int Datum::toInt() { switch (type) { case REFERENCE: toString(); + // fallthrough case STRING: u.i = atoi(u.s->c_str()); break; @@ -517,13 +518,13 @@ void Lingo::printAllVars() { for (SymbolHash::iterator i = _localvars->begin(); i != _localvars->end(); ++i) { debugN("%s, ", (*i)._key.c_str()); } - debug(""); + debugN("\n"); debugN(" Global vars: "); for (SymbolHash::iterator i = _globalvars.begin(); i != _globalvars.end(); ++i) { debugN("%s, ", (*i)._key.c_str()); } - debug(""); + debugN("\n"); } } // End of namespace Director |