[Scummvm-cvs-logs] SF.net SVN: scummvm:[52951] scummvm/trunk/engines/gob/hotspots.cpp

drmccoy at users.sourceforge.net drmccoy at users.sourceforge.net
Thu Sep 30 15:04:14 CEST 2010


Revision: 52951
          http://scummvm.svn.sourceforge.net/scummvm/?rev=52951&view=rev
Author:   drmccoy
Date:     2010-09-30 13:04:14 +0000 (Thu, 30 Sep 2010)

Log Message:
-----------
GOB: Remove extra \n in debug warning()s

Modified Paths:
--------------
    scummvm/trunk/engines/gob/hotspots.cpp

Modified: scummvm/trunk/engines/gob/hotspots.cpp
===================================================================
--- scummvm/trunk/engines/gob/hotspots.cpp	2010-09-30 13:03:51 UTC (rev 52950)
+++ scummvm/trunk/engines/gob/hotspots.cpp	2010-09-30 13:04:14 UTC (rev 52951)
@@ -1295,7 +1295,7 @@
 	uint32 funcEnter = 0, funcLeave = 0;
 
 	if ((windowNum != 0) && (type != 0) && (type != 2))
-		warning("evaluateNew - type %d, win %d\n",type, windowNum);
+		warning("evaluateNew - type %d, win %d",type, windowNum);
 
 	// Evaluate parameters for the new hotspot
 	switch (type) {
@@ -1392,7 +1392,7 @@
 		flags  = _vm->_game->_script->readInt16();
 
 		if (flags > 3)
-			warning("evaluateNew: Warning, use of type 2 or 20. flags = %d, should be %d\n", flags, flags&3);
+			warning("evaluateNew: Warning, use of type 2 or 20. flags = %d, should be %d", flags, flags&3);
 
 		funcEnter = 0;
 


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