[Scummvm-cvs-logs] SF.net SVN: scummvm: [23378] residual/trunk/main.cpp

joostp at users.sourceforge.net joostp at users.sourceforge.net
Thu Jul 6 20:02:53 CEST 2006


Revision: 23378
Author:   joostp
Date:     2006-07-06 11:02:50 -0700 (Thu, 06 Jul 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=23378&view=rev

Log Message:
-----------
Only deref splash_bm (which is not present in the demo) if it was actually loaded.

Modified Paths:
--------------
    residual/trunk/main.cpp
Modified: residual/trunk/main.cpp
===================================================================
--- residual/trunk/main.cpp	2006-07-06 12:22:33 UTC (rev 23377)
+++ residual/trunk/main.cpp	2006-07-06 18:02:50 UTC (rev 23378)
@@ -143,7 +143,7 @@
 		} else {
 			int j;
 needshelp:
-			printf("Residual CVS Version\n");
+			printf("Residual SVN Version\n");
 			printf("--------------------\n");
 			printf("Recognised options:\n");
 			printf("\t-[no]zbuffer\t\tEnable/disable ZBuffers (Very slow on older cards)\n");
@@ -201,7 +201,8 @@
 	}
 #endif
 
-	splash_bm->deref();
+	if (splash_bm != NULL)
+		splash_bm->deref();
 
 	lua_iolibopen();
 	lua_strlibopen();


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