[Scummvm-cvs-logs] SF.net SVN: scummvm:[38212] scummvm/branches/branch-0-13-0/gui/ThemeEngine. cpp

vinterstum at users.sourceforge.net vinterstum at users.sourceforge.net
Sun Feb 15 11:08:52 CET 2009


Revision: 38212
          http://scummvm.svn.sourceforge.net/scummvm/?rev=38212&view=rev
Author:   vinterstum
Date:     2009-02-15 10:08:52 +0000 (Sun, 15 Feb 2009)

Log Message:
-----------
iPhone: Fix for reading theme files from bundle directory

Modified Paths:
--------------
    scummvm/branches/branch-0-13-0/gui/ThemeEngine.cpp

Modified: scummvm/branches/branch-0-13-0/gui/ThemeEngine.cpp
===================================================================
--- scummvm/branches/branch-0-13-0/gui/ThemeEngine.cpp	2009-02-15 10:07:50 UTC (rev 38211)
+++ scummvm/branches/branch-0-13-0/gui/ThemeEngine.cpp	2009-02-15 10:08:52 UTC (rev 38212)
@@ -42,7 +42,7 @@
 #include "gui/ThemeEval.h"
 #include "gui/ThemeParser.h"
 
-#ifdef MACOSX
+#if defined(MACOSX) || defined(IPHONE)
 #include <CoreFoundation/CoreFoundation.h>
 #endif
 
@@ -1385,7 +1385,7 @@
 	listUsableThemes(Common::FSNode(DATA_PATH), list);
 #endif
 
-#ifdef MACOSX
+#if defined(MACOSX) || defined(IPHONE)
 	CFURLRef resourceUrl = CFBundleCopyResourcesDirectoryURL(CFBundleGetMainBundle());
 	if (resourceUrl) {
 		char buf[256];


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