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

strangerke at users.sourceforge.net strangerke at users.sourceforge.net
Mon Aug 16 23:18:39 CEST 2010


Revision: 52133
          http://scummvm.svn.sourceforge.net/scummvm/?rev=52133&view=rev
Author:   strangerke
Date:     2010-08-16 21:18:38 +0000 (Mon, 16 Aug 2010)

Log Message:
-----------
Fascination - Suppress a debug warning, and replace several warnings by errors.

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

Modified: scummvm/trunk/engines/gob/draw.cpp
===================================================================
--- scummvm/trunk/engines/gob/draw.cpp	2010-08-16 21:16:13 UTC (rev 52132)
+++ scummvm/trunk/engines/gob/draw.cpp	2010-08-16 21:18:38 UTC (rev 52133)
@@ -869,7 +869,6 @@
 			}
 		}
 	if (bestMatch != -1) {
-		warning("handleCurWin - activeWin %d", matchNum);
 		blitCursor();
 		activeWin(matchNum);
 	}
@@ -1007,9 +1006,9 @@
 		break;
 
 	default:
-		width  = 0;
-		height = 0;
-		warning("Unexpected fct value %d", fct);
+//		width  = 0;
+//		height = 0;
+		error("winDraw - Unexpected fct value %d", fct);
 		break;
 	}
 
@@ -1132,7 +1131,7 @@
 			break;
 
 		default:
-			warning("Unexpected fct value");
+			error("winDraw - Unexpected fct value %d", fct);
 			break;
 		}
 
@@ -1251,7 +1250,7 @@
 			break;
 
 		default:
-			warning("Unexpected fct value");
+			error("winDraw - Unexpected fct value");
 			break;
 		}
 	}


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