From 81eff30b8e5309a2dde8f6709f55a098acf27e48 Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Wed, 28 Sep 2011 19:00:57 -0400 Subject: PEGASUS: Fix date positioning --- engines/pegasus/surface.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/pegasus/surface.cpp') diff --git a/engines/pegasus/surface.cpp b/engines/pegasus/surface.cpp index fb64c92c21..ebef03e79a 100755 --- a/engines/pegasus/surface.cpp +++ b/engines/pegasus/surface.cpp @@ -239,7 +239,7 @@ 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) { @@ -247,7 +247,7 @@ void Picture::initFromPICTResource(Common::MacResManager *resFork, uint16 id, bo Common::Rect surfaceBounds; getSurfaceBounds(surfaceBounds); - setBounds(surfaceBounds); + sizeElement(surfaceBounds.width(), surfaceBounds.height()); } } // End of namespace Pegasus -- cgit v1.2.3