Author: tkreuzer
Date: Wed Jan 19 18:10:50 2011
New Revision: 50443
URL:
http://svn.reactos.org/svn/reactos?rev=50443&view=rev
Log:
[GDI32]
Fix broken portable implementation of _lrintf, 2nd try :)
Modified:
trunk/reactos/dll/win32/gdi32/include/gdi32p.h
Modified: trunk/reactos/dll/win32/gdi32/include/gdi32p.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/include/gd…
==============================================================================
--- trunk/reactos/dll/win32/gdi32/include/gdi32p.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/gdi32/include/gdi32p.h [iso-8859-1] Wed Jan 19 18:10:50 2011
@@ -413,7 +413,7 @@
}
#else
/* slow, but portable */
- return (int)(x >= 0 ? x+0.5 : x-0.5);
+ return (int)(f >= 0 ? f+0.5 : f-0.5);
#endif
}