aboutsummaryrefslogtreecommitdiff
path: root/engines/tony
diff options
context:
space:
mode:
authorAlyssa Milburn2012-08-22 21:56:12 +0200
committerAlyssa Milburn2012-08-22 21:56:12 +0200
commitb1486aa5feb3fa074e91cb8436054608119062ed (patch)
treeee793caa16953d01e1d7e7b6a0a6e03185f0fc6e /engines/tony
parent93f145773e316a5ec9e37f02e1c2f803e89ccf66 (diff)
downloadscummvm-rg350-b1486aa5feb3fa074e91cb8436054608119062ed.tar.gz
scummvm-rg350-b1486aa5feb3fa074e91cb8436054608119062ed.tar.bz2
scummvm-rg350-b1486aa5feb3fa074e91cb8436054608119062ed.zip
TONY: Fix spelling of setStretch.
Diffstat (limited to 'engines/tony')
-rw-r--r--engines/tony/gfxcore.h2
-rw-r--r--engines/tony/loc.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/tony/gfxcore.h b/engines/tony/gfxcore.h
index 78c4c9bc70..2402b1e029 100644
--- a/engines/tony/gfxcore.h
+++ b/engines/tony/gfxcore.h
@@ -189,7 +189,7 @@ public:
void setDst(const RMPoint &dst) {
_dst.topLeft() = dst;
}
- void setStrecth(bool bStretch) {
+ void setStretch(bool bStretch) {
_bStretch = bStretch;
}
diff --git a/engines/tony/loc.cpp b/engines/tony/loc.cpp
index eaed3b49e2..a2dd7e097d 100644
--- a/engines/tony/loc.cpp
+++ b/engines/tony/loc.cpp
@@ -690,7 +690,7 @@ void RMItem::draw(CORO_PARAM, RMGfxTargetBuffer &bigBuf, RMGfxPrimitive *prim) {
prim->getDst().offset(calculatePos());
// No stretching, please
- prim->setStrecth(false);
+ prim->setStretch(false);
// Now we turn to the generic surface drawing routines
CORO_INVOKE_2(_sprites[_nCurSprite].draw, bigBuf, prim);