Author: tfaber
Date: Mon Sep 7 16:11:59 2015
New Revision: 69091
URL:
http://svn.reactos.org/svn/reactos?rev=69091&view=rev
Log:
[USER32]
- Fix MSVC warning (C4305: '-=' : truncation from 'double' to
'float')
Modified:
trunk/reactos/win32ss/user/user32/controls/edit.c
Modified: trunk/reactos/win32ss/user/user32/controls/edit.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/user32/contro…
==============================================================================
--- trunk/reactos/win32ss/user/user32/controls/edit.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/user32/controls/edit.c [iso-8859-1] Mon Sep 7 16:11:59
2015
@@ -649,7 +649,7 @@
prev = current_line->net_length - 1;
w = current_line->net_length;
d = (float)current_line->width/(float)fw;
- if (d > 1.2) d -= 0.2;
+ if (d > 1.2f) d -= 0.2f;
next = prev/d;
if (next >= prev) next = prev-1;
do {