aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorMax Horn2008-11-21 12:17:35 +0000
committerMax Horn2008-11-21 12:17:35 +0000
commita28b531ed0a984aa89a6cbc55c0314ad52f304fb (patch)
tree492d7aae224da496b3d3f176833da02c617bb0f9 /gui
parent33dd58ca9894676c52498498eb5d19e48e3cc998 (diff)
downloadscummvm-rg350-a28b531ed0a984aa89a6cbc55c0314ad52f304fb.tar.gz
scummvm-rg350-a28b531ed0a984aa89a6cbc55c0314ad52f304fb.tar.bz2
scummvm-rg350-a28b531ed0a984aa89a6cbc55c0314ad52f304fb.zip
Added ArchiveMember::getDisplayName() method; changed ArchiveMember::getName() to always return a name compatible with Archive::openFile()
svn-id: r35139
Diffstat (limited to 'gui')
-rw-r--r--gui/ThemeEngine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/ThemeEngine.cpp b/gui/ThemeEngine.cpp
index 90ab2e211f..11b960a91b 100644
--- a/gui/ThemeEngine.cpp
+++ b/gui/ThemeEngine.cpp
@@ -550,14 +550,14 @@ bool ThemeEngine::loadThemeXML(const Common::String &themeName) {
if (_parser->loadStream((*i)->open()) == false) {
delete archive;
- warning("Failed to load STX file '%s'", (*i)->getName().c_str());
+ warning("Failed to load STX file '%s'", (*i)->getDisplayName().c_str());
_parser->close();
return false;
}
if (_parser->parse() == false) {
delete archive;
- warning("Failed to parse STX file '%s'", (*i)->getName().c_str());
+ warning("Failed to parse STX file '%s'", (*i)->getDisplayName().c_str());
_parser->close();
return false;
}