[Scummvm-cvs-logs] SF.net SVN: scummvm: [21786] scummvm/trunk/engines/lure/hotspots.cpp
eriktorbjorn at users.sourceforge.net
eriktorbjorn at users.sourceforge.net
Tue Apr 11 04:35:03 CEST 2006
Revision: 21786
Author: eriktorbjorn
Date: 2006-04-11 04:34:06 -0700 (Tue, 11 Apr 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=21786&view=rev
Log Message:
-----------
Changed max() to MAX(). This fixes compilation for me.
Modified Paths:
--------------
scummvm/trunk/engines/lure/hotspots.cpp
Modified: scummvm/trunk/engines/lure/hotspots.cpp
===================================================================
--- scummvm/trunk/engines/lure/hotspots.cpp 2006-04-11 10:53:24 UTC (rev 21785)
+++ scummvm/trunk/engines/lure/hotspots.cpp 2006-04-11 11:34:06 UTC (rev 21786)
@@ -357,7 +357,7 @@
_pathfindCovered = occupiedFlag;
int yp = (y() - 8 + heightCopy() - 4) >> 3;
- int widthVal = max((widthCopy() >> 3), 1);
+ int widthVal = MAX((widthCopy() >> 3), 1);
// Handle cropping for screen left
int xp = (x() >> 3) - 16;
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