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

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Sat Oct 18 15:06:27 CEST 2008


Revision: 34822
          http://scummvm.svn.sourceforge.net/scummvm/?rev=34822&view=rev
Author:   eriktorbjorn
Date:     2008-10-18 13:06:27 +0000 (Sat, 18 Oct 2008)

Log Message:
-----------
Fixed warning.

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

Modified: scummvm/trunk/gui/theme.cpp
===================================================================
--- scummvm/trunk/gui/theme.cpp	2008-10-18 12:37:50 UTC (rev 34821)
+++ scummvm/trunk/gui/theme.cpp	2008-10-18 13:06:27 UTC (rev 34822)
@@ -92,7 +92,7 @@
 
 	if (font) {
 		if (!cacheFilename.empty()) {
-			if (!Graphics::NewFont::cacheFontData(*(Graphics::NewFont*)font, cacheFilename)) {
+			if (!Graphics::NewFont::cacheFontData(*(const Graphics::NewFont*)font, cacheFilename)) {
 				warning("Couldn't create cache file for font '%s'", filename.c_str());
 			}
 		}


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