aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);