Thomas Faber : user32: Use float literals for float operation.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Sep 7 09:20:13 CDT 2015
Module: wine
Branch: master
Commit: 8a718259d37c0db1fe0b4710e0b21c1886174617
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8a718259d37c0db1fe0b4710e0b21c1886174617
Author: Thomas Faber <thomas.faber at reactos.org>
Date: Mon Sep 7 10:14:02 2015 +0200
user32: Use float literals for float operation.
---
dlls/user32/edit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/user32/edit.c b/dlls/user32/edit.c
index 67adefb..084bbff 100644
--- a/dlls/user32/edit.c
+++ b/dlls/user32/edit.c
@@ -631,7 +631,7 @@ static void EDIT_BuildLineDefs_ML(EDITSTATE *es, INT istart, INT iend, INT delta
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 {
More information about the wine-cvs
mailing list