aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2014-06-05 00:04:03 +0200
committerStrangerke2014-06-05 00:04:03 +0200
commit26e545a9c8628097dc225948e053e023689e8ec3 (patch)
treecf516cba86f91764b0e271d97d565313ae80bc6c
parent9460116df1a07aa77c316e8127a474dcf203807b (diff)
downloadscummvm-rg350-26e545a9c8628097dc225948e053e023689e8ec3.tar.gz
scummvm-rg350-26e545a9c8628097dc225948e053e023689e8ec3.tar.bz2
scummvm-rg350-26e545a9c8628097dc225948e053e023689e8ec3.zip
MADS: Fix typo in drawScroller()
-rw-r--r--engines/mads/user_interface.cpp4
-rw-r--r--engines/mads/user_interface.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/mads/user_interface.cpp b/engines/mads/user_interface.cpp
index 8c1cba7bd9..3412748783 100644
--- a/engines/mads/user_interface.cpp
+++ b/engines/mads/user_interface.cpp
@@ -487,7 +487,7 @@ void UserInterface::drawItemVocabList() {
}
}
-void UserInterface::drawScrolller() {
+void UserInterface::drawScroller() {
if (_scrollbarActive)
writeVocab(CAT_INV_SCROLLER, _scrollbarActive);
writeVocab(CAT_INV_SCROLLER, 4);
@@ -573,7 +573,7 @@ void UserInterface::scrollbarChanged() {
Common::Rect r(73, 4, 73 + 9, 4 + 38);
_uiSlots.add(r);
_uiSlots.draw(false, false);
- drawScrolller();
+ drawScroller();
updateRect(r);
}
diff --git a/engines/mads/user_interface.h b/engines/mads/user_interface.h
index 827fa3041f..f251441e40 100644
--- a/engines/mads/user_interface.h
+++ b/engines/mads/user_interface.h
@@ -180,7 +180,7 @@ private:
/**
* Draw the inventory scroller
*/
- void drawScrolller();
+ void drawScroller();
/**
* Called when the inventory scrollbar has changed