[Scummvm-cvs-logs] SF.net SVN: scummvm:[35533] scummvm/trunk/engines/parallaction/graphics.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Thu Dec 25 01:18:02 CET 2008
Revision: 35533
http://scummvm.svn.sourceforge.net/scummvm/?rev=35533&view=rev
Author: lordhoto
Date: 2008-12-25 00:18:01 +0000 (Thu, 25 Dec 2008)
Log Message:
-----------
Fix for bug #2464538 "PARALLACTION: Compiler error on AmigaOS4",
Modified Paths:
--------------
scummvm/trunk/engines/parallaction/graphics.cpp
Modified: scummvm/trunk/engines/parallaction/graphics.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/graphics.cpp 2008-12-25 00:16:29 UTC (rev 35532)
+++ scummvm/trunk/engines/parallaction/graphics.cpp 2008-12-25 00:18:01 UTC (rev 35533)
@@ -817,7 +817,7 @@
}
_minScroll = 0;
- _maxScroll = MAX(0, _backgroundInfo->width - _vm->_screenWidth);
+ _maxScroll = MAX<int>(0, _backgroundInfo->width - _vm->_screenWidth);
}
} // namespace Parallaction
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