From b1486aa5feb3fa074e91cb8436054608119062ed Mon Sep 17 00:00:00 2001 From: Alyssa Milburn Date: Wed, 22 Aug 2012 21:56:12 +0200 Subject: TONY: Fix spelling of setStretch. --- engines/tony/gfxcore.h | 2 +- engines/tony/loc.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/tony') 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); -- cgit v1.2.3