Skip to content

Commit

Permalink
PEGASUS: Fix date positioning
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Hoops committed Sep 28, 2011
1 parent ffff1be commit 81eff30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engines/pegasus/surface.cpp
Expand Up @@ -239,15 +239,15 @@ void Picture::initFromPICTFile(const Common::String &fileName, bool transparent)

Common::Rect surfaceBounds;
getSurfaceBounds(surfaceBounds);
setBounds(surfaceBounds);
sizeElement(surfaceBounds.width(), surfaceBounds.height());
}

void Picture::initFromPICTResource(Common::MacResManager *resFork, uint16 id, bool transparent) {
Frame::initFromPICTResource(resFork, id, transparent);

Common::Rect surfaceBounds;
getSurfaceBounds(surfaceBounds);
setBounds(surfaceBounds);
sizeElement(surfaceBounds.width(), surfaceBounds.height());
}

} // End of namespace Pegasus

0 comments on commit 81eff30

Please sign in to comment.