Skip to content

Commit

Permalink
TONY: Fix spelling of setStretch.
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzzie committed Aug 22, 2012
1 parent 93f1457 commit b1486aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion engines/tony/gfxcore.h
Expand Up @@ -189,7 +189,7 @@ class RMGfxPrimitive {
void setDst(const RMPoint &dst) {
_dst.topLeft() = dst;
}
void setStrecth(bool bStretch) {
void setStretch(bool bStretch) {
_bStretch = bStretch;
}

Expand Down
2 changes: 1 addition & 1 deletion engines/tony/loc.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit b1486aa

Please sign in to comment.