aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gui
diff options
context:
space:
mode:
authorFilippos Karapetis2009-10-28 23:04:56 +0000
committerFilippos Karapetis2009-10-28 23:04:56 +0000
commit2d9d9bca13244b398c08fe2980e130cb205b57f6 (patch)
tree26fbd9855ba4c36d9e581beabad03a636be6ab21 /engines/sci/gui
parent21323a8d12624c33236f6397be559a238b36d845 (diff)
downloadscummvm-rg350-2d9d9bca13244b398c08fe2980e130cb205b57f6.tar.gz
scummvm-rg350-2d9d9bca13244b398c08fe2980e130cb205b57f6.tar.bz2
scummvm-rg350-2d9d9bca13244b398c08fe2980e130cb205b57f6.zip
Changed some of the menu code to use new graphics functions
svn-id: r45493
Diffstat (limited to 'engines/sci/gui')
-rw-r--r--engines/sci/gui/gui.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sci/gui/gui.cpp b/engines/sci/gui/gui.cpp
index b6e116be2f..3d5a0728ab 100644
--- a/engines/sci/gui/gui.cpp
+++ b/engines/sci/gui/gui.cpp
@@ -270,7 +270,8 @@ void SciGui::display(const char *text, int argc, reg_t *argv) {
void SciGui::textSize(const char *text, int16 font, int16 maxWidth, int16 *textWidth, int16 *textHeight) {
Common::Rect rect(0, 0, *textWidth, *textHeight);
_text->Size(rect, text, font, maxWidth);
- *textWidth = rect.width(); *textHeight = rect.height();
+ *textWidth = rect.width();
+ *textHeight = rect.height();
}
// Used SCI1+ for text codes