diff options
| author | Max Horn | 2009-01-23 04:45:44 +0000 |
|---|---|---|
| committer | Max Horn | 2009-01-23 04:45:44 +0000 |
| commit | 14c5bbbccf30f333b92092ca55063b338335c3a5 (patch) | |
| tree | 80cfc99351a2333461bbbb6e9437780921ad2edb /gui | |
| parent | 9861afd8fde386ffc740ab12fad26f2d41213821 (diff) | |
| download | scummvm-rg350-14c5bbbccf30f333b92092ca55063b338335c3a5.tar.gz scummvm-rg350-14c5bbbccf30f333b92092ca55063b338335c3a5.tar.bz2 scummvm-rg350-14c5bbbccf30f333b92092ca55063b338335c3a5.zip | |
Renamed Archive::openFile to createReadStreamForMember
svn-id: r36021
Diffstat (limited to 'gui')
| -rw-r--r-- | gui/ThemeEngine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/ThemeEngine.cpp b/gui/ThemeEngine.cpp index 3e61400f9f..89b666ce58 100644 --- a/gui/ThemeEngine.cpp +++ b/gui/ThemeEngine.cpp @@ -580,7 +580,7 @@ bool ThemeEngine::addBitmap(const Common::String &filename) { // If not, try to load the bitmap via the ImageDecoder class. surf = Graphics::ImageDecoder::loadFile(filename); if (!surf && _themeArchive) { - Common::SeekableReadStream *stream = _themeArchive->openFile(filename); + Common::SeekableReadStream *stream = _themeArchive->createReadStreamForMember(filename); if (stream) { surf = Graphics::ImageDecoder::loadFile(*stream); delete stream; @@ -1243,7 +1243,7 @@ const Graphics::Font *ThemeEngine::loadFontFromArchive(const Common::String &fil const Graphics::Font *font = 0; if (_themeArchive) - stream = _themeArchive->openFile(filename); + stream = _themeArchive->createReadStreamForMember(filename); if (stream) { font = Graphics::NewFont::loadFromCache(*stream); delete stream; |
