aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorWalter van Niftrik2010-04-17 03:11:54 +0000
committerWalter van Niftrik2010-04-17 03:11:54 +0000
commit20c461e541eba1e2db6ce18d859a79d4e1047602 (patch)
tree06a499767fc0c71135404a6119704ed7dbe7b5e9 /engines
parent88f6a39312a27cfa70cfea283b63665894dc7579 (diff)
downloadscummvm-rg350-20c461e541eba1e2db6ce18d859a79d4e1047602.tar.gz
scummvm-rg350-20c461e541eba1e2db6ce18d859a79d4e1047602.tar.bz2
scummvm-rg350-20c461e541eba1e2db6ce18d859a79d4e1047602.zip
SCI: Remove subtitles in menu.
svn-id: r48683
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/graphics/menu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/graphics/menu.cpp b/engines/sci/graphics/menu.cpp
index 42ae4de1ff..50f87e6e6c 100644
--- a/engines/sci/graphics/menu.cpp
+++ b/engines/sci/graphics/menu.cpp
@@ -338,7 +338,7 @@ void GfxMenu::calculateTextWidth() {
menuIterator = _list.begin();
while (menuIterator != menuEnd) {
menuEntry = *menuIterator;
- menuEntry->textSplit = g_sci->strSplit(menuEntry->text.c_str());
+ menuEntry->textSplit = g_sci->strSplit(menuEntry->text.c_str(), NULL);
_text16->StringWidth(menuEntry->textSplit.c_str(), 0, menuEntry->textWidth, dummyHeight);
menuIterator++;
@@ -348,7 +348,7 @@ void GfxMenu::calculateTextWidth() {
while (itemIterator != itemEnd) {
itemEntry = *itemIterator;
// Split the text now for multilingual SCI01 games
- itemEntry->textSplit = g_sci->strSplit(itemEntry->text.c_str());
+ itemEntry->textSplit = g_sci->strSplit(itemEntry->text.c_str(), NULL);
_text16->StringWidth(itemEntry->textSplit.c_str(), 0, itemEntry->textWidth, dummyHeight);
_text16->StringWidth(itemEntry->textRightAligned.c_str(), 0, itemEntry->textRightAlignedWidth, dummyHeight);