diff options
author | Martin Kiewitz | 2010-04-17 13:34:16 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-04-17 13:34:16 +0000 |
commit | 08ad84d5565131f5422a270046f6702243d55a50 (patch) | |
tree | 80f9af8d56fb25720a4498a6498060bd939a2465 /engines | |
parent | f8f50b52191f7cd15cce65eba56ab2a95238ae21 (diff) | |
download | scummvm-rg350-08ad84d5565131f5422a270046f6702243d55a50.tar.gz scummvm-rg350-08ad84d5565131f5422a270046f6702243d55a50.tar.bz2 scummvm-rg350-08ad84d5565131f5422a270046f6702243d55a50.zip |
SCI: implement ability to handle multilingual menu separators (is actually 2 separators with a language separator inbetween)
svn-id: r48685
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/graphics/menu.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/sci/graphics/menu.cpp b/engines/sci/graphics/menu.cpp index 50f87e6e6c..124c8cc084 100644 --- a/engines/sci/graphics/menu.cpp +++ b/engines/sci/graphics/menu.cpp @@ -184,6 +184,10 @@ void GfxMenu::kernelAddEntry(Common::String title, Common::String content, reg_t case '-': case ' ': separatorCount++; + break; + case '%': + // Some multilingual sci01 games use e.g. '--!%G--!' (which doesn't really make sense) + tempPos = curPos; } curPos++; } |