diff options
author | Eugene Sandulenko | 2016-07-11 10:57:24 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-08-03 23:40:36 +0200 |
commit | 847b1c0a034a81b68568cd86598c5f8b8510bd8e (patch) | |
tree | 55ceed6abc930a43291f0eccbadfb47bde3a20aa /engines/director | |
parent | 903f57ab2d9a7de5350383b6fcfe4b77de08ab10 (diff) | |
download | scummvm-rg350-847b1c0a034a81b68568cd86598c5f8b8510bd8e.tar.gz scummvm-rg350-847b1c0a034a81b68568cd86598c5f8b8510bd8e.tar.bz2 scummvm-rg350-847b1c0a034a81b68568cd86598c5f8b8510bd8e.zip |
DIRECTOR: Lingo: Do not error out on unacceptable characters in toLowercaseMac()
Diffstat (limited to 'engines/director')
-rw-r--r-- | engines/director/lingo/lingo.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/director/lingo/lingo.cpp b/engines/director/lingo/lingo.cpp index 3a24cebb48..fd9d0a56f0 100644 --- a/engines/director/lingo/lingo.cpp +++ b/engines/director/lingo/lingo.cpp @@ -295,7 +295,9 @@ Common::String *Lingo::toLowercaseMac(Common::String *s) { } else if (*p < 0x80) { *res += tolower(*p); } else { - error("Unacceptable symbol in toLowercaseMac: %c", *p); + warning("Unacceptable symbol in toLowercaseMac: %c", *p); + + *res += *p; } p++; } |