[Scummvm-cvs-logs] SF.net SVN: scummvm: [22603] scummvm/trunk/engines/agi/graphics.cpp

aquadran at users.sourceforge.net aquadran at users.sourceforge.net
Wed May 24 02:08:07 CEST 2006


Revision: 22603
Author:   aquadran
Date:     2006-05-24 02:07:46 -0700 (Wed, 24 May 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=22603&view=rev

Log Message:
-----------
formating a bit

Modified Paths:
--------------
    scummvm/trunk/engines/agi/graphics.cpp
Modified: scummvm/trunk/engines/agi/graphics.cpp
===================================================================
--- scummvm/trunk/engines/agi/graphics.cpp	2006-05-24 09:04:36 UTC (rev 22602)
+++ scummvm/trunk/engines/agi/graphics.cpp	2006-05-24 09:07:46 UTC (rev 22603)
@@ -348,8 +348,7 @@
 	y2 = y + CHAR_LINES + 2;
 
 	while (*s) {
-		put_text_character(0, x + (!!p), y + (!!p), *s++,
-		    a ? 15 : 0, a ? 0 : 15);
+		put_text_character(0, x + (!!p), y + (!!p), *s++, a ? 15 : 0, a ? 0 : 15);
 		x += CHAR_COLS;
 	}
 
@@ -371,8 +370,7 @@
 	x2 = x + CHAR_COLS * len + 2;
 	y2 = y + CHAR_LINES + 2;
 
-	if ((int)mouse.x >= x1 && (int)mouse.y >= y1
-	    && (int)mouse.x <= x2 && (int)mouse.y <= y2)
+	if ((int)mouse.x >= x1 && (int)mouse.y >= y1 && (int)mouse.x <= x2 && (int)mouse.y <= y2)
 		return true;
 
 	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