diff options
author | Matthew Hoops | 2011-09-28 19:00:57 -0400 |
---|---|---|
committer | Matthew Hoops | 2011-09-28 19:00:57 -0400 |
commit | 81eff30b8e5309a2dde8f6709f55a098acf27e48 (patch) | |
tree | 257b90e8e79844076167c572dc3909401354ba26 /engines | |
parent | ffff1beb1b8108dff51fa261f298cee67d43f37c (diff) | |
download | scummvm-rg350-81eff30b8e5309a2dde8f6709f55a098acf27e48.tar.gz scummvm-rg350-81eff30b8e5309a2dde8f6709f55a098acf27e48.tar.bz2 scummvm-rg350-81eff30b8e5309a2dde8f6709f55a098acf27e48.zip |
PEGASUS: Fix date positioning
Diffstat (limited to 'engines')
-rwxr-xr-x | engines/pegasus/surface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 |