Author: mordante
Date: Thu Apr 19 21:08:44 2007
New Revision: 16936
URL: http://svn.gna.org/viewcvs/wesnoth?rev=16936&view=rev
Log:
added some more comment
Modified:
trunk/src/mouse_events.cpp
Modified: trunk/src/mouse_events.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/mouse_events.cpp?rev=16936&r1=16935&r2=16936&view=diff
==============================================================================
--- trunk/src/mouse_events.cpp (original)
+++ trunk/src/mouse_events.cpp Thu Apr 19 21:08:44 2007
@@ -747,6 +747,7 @@
const int abs1 = abs(drag_from_x_- mx);
const int abs2 = abs(drag_from_y_- my);
//don't use int __cdecl ::abs() as direct parameter to
maximum<int>()
+ //it gives problems with MSVC++ 6
const int drag_distance = maximum<int>(abs1, abs2);
if (drag_distance > 10) {
dragging_started_ = true;
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits