From b3c6751b9b7fc1401fd5e87a034cdaec92b67b20 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sun, 24 May 2009 15:17:42 +0000 Subject: Strip trailing whitespaces in the whole code base. svn-id: r40867 --- gui/ThemeEngine.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'gui/ThemeEngine.cpp') diff --git a/gui/ThemeEngine.cpp b/gui/ThemeEngine.cpp index 30aab03812..fe93a1f7d6 100644 --- a/gui/ThemeEngine.cpp +++ b/gui/ThemeEngine.cpp @@ -382,7 +382,7 @@ bool ThemeEngine::init() { if (node.getName().hasSuffix(".zip") && !node.isDirectory()) { #ifdef USE_ZLIB Common::ZipArchive *zipArchive = new Common::ZipArchive(node); - + if (!zipArchive || !zipArchive->isOpen()) { delete zipArchive; zipArchive = 0; @@ -397,7 +397,7 @@ bool ThemeEngine::init() { _themeArchive = new Common::FSDirectory(node); } } - + // Load the theme // We pass the theme file here by default, so the user will // have a descriptive error message. The only exception will @@ -415,7 +415,7 @@ void ThemeEngine::clearAll() { } void ThemeEngine::refresh() { - + // Flush all bitmaps if the overlay pixel format changed. if (_overlayFormat != _system->getOverlayFormat()) { for (ImagesMap::iterator i = _bitmaps.begin(); i != _bitmaps.end(); ++i) { @@ -622,7 +622,7 @@ void ThemeEngine::loadTheme(const Common::String &themeId) { // Load the archive containing image and XML data _themeOk = loadThemeXML(themeId); } - + if (!_themeOk) { warning("Failed to load theme '%s'", themeId.c_str()); return; @@ -1487,10 +1487,10 @@ void ThemeEngine::listUsableThemes(Common::FSNode node, Common::List