Commit 8a718259 authored by Thomas Faber's avatar Thomas Faber Committed by Alexandre Julliard

user32: Use float literals for float operation.

parent faa14ba1
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment