[Scummvm-cvs-logs] SF.net SVN: scummvm:[35687] scummvm/trunk/gui/ThemeEngine.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Fri Jan 2 23:16:33 CET 2009


Revision: 35687
          http://scummvm.svn.sourceforge.net/scummvm/?rev=35687&view=rev
Author:   lordhoto
Date:     2009-01-02 22:16:33 +0000 (Fri, 02 Jan 2009)

Log Message:
-----------
Cleanup.

Modified Paths:
--------------
    scummvm/trunk/gui/ThemeEngine.cpp

Modified: scummvm/trunk/gui/ThemeEngine.cpp
===================================================================
--- scummvm/trunk/gui/ThemeEngine.cpp	2009-01-02 22:10:00 UTC (rev 35686)
+++ scummvm/trunk/gui/ThemeEngine.cpp	2009-01-02 22:16:33 UTC (rev 35687)
@@ -1096,7 +1096,7 @@
 		}
 	}
 
-	return "";
+	return Common::String();
 }
 
 
@@ -1169,7 +1169,7 @@
 	ThemeDescriptor th;
 	th.name = "ScummVM Classic Theme (Builtin Version)";
 	th.id = "builtin";
-	th.filename = "";
+	th.filename.clear();
 	list.push_back(th);
 #endif
 
@@ -1275,7 +1275,7 @@
 	// our default theme which would mean "scummmodern" instead
 	// of the builtin one.
 	if (id.equalsIgnoreCase("default"))
-		return "";
+		return Common::String();
 
 	Common::FSNode node(id);
 
@@ -1299,7 +1299,7 @@
 
 	// If no matching id has been found we will
 	// just fall back to the builtin theme
-	return "";
+	return Common::String();
 }
 
 Common::String ThemeEngine::getThemeId(const Common::String &filename) {


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list