[Scummvm-cvs-logs] SF.net SVN: scummvm:[50304] scummvm/branches/gsoc2010-plugins/backends/ plugins/gp2xwiz/gp2xwiz-provider.cpp

toneman1138 at users.sourceforge.net toneman1138 at users.sourceforge.net
Sat Jun 26 06:12:10 CEST 2010


Revision: 50304
          http://scummvm.svn.sourceforge.net/scummvm/?rev=50304&view=rev
Author:   toneman1138
Date:     2010-06-26 04:12:09 +0000 (Sat, 26 Jun 2010)

Log Message:
-----------
fixed detection of plugin filenames

Modified Paths:
--------------
    scummvm/branches/gsoc2010-plugins/backends/plugins/gp2xwiz/gp2xwiz-provider.cpp

Modified: scummvm/branches/gsoc2010-plugins/backends/plugins/gp2xwiz/gp2xwiz-provider.cpp
===================================================================
--- scummvm/branches/gsoc2010-plugins/backends/plugins/gp2xwiz/gp2xwiz-provider.cpp	2010-06-26 04:03:07 UTC (rev 50303)
+++ scummvm/branches/gsoc2010-plugins/backends/plugins/gp2xwiz/gp2xwiz-provider.cpp	2010-06-26 04:12:09 UTC (rev 50304)
@@ -96,7 +96,7 @@
 	// Check the plugin suffix
 	Common::String filename = node.getName();
 	printf("Testing name %s", filename.c_str());
-	if (!filename.hasSuffix(".PLG") && !filename.hasSuffix(".plg")) {
+	if (!filename.hasSuffix(".PLG") && !filename.hasSuffix(".plg") && !filename.hasSuffix(".PLUGIN") && !filename.hasSuffix(".plugin")) {
 		printf(" fail.\n");
 		return false;
 	}


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