mirror of
https://github.com/reactos/reactos.git
synced 2024-09-30 14:37:45 +00:00
[USER32]
- Fix MSVC warning (C4305: '-=' : truncation from 'double' to 'float') svn path=/trunk/; revision=69091
This commit is contained in:
parent
e828b6505e
commit
7db284e5b5
|
@ -649,7 +649,7 @@ static void EDIT_BuildLineDefs_ML(EDITSTATE *es, INT istart, INT iend, INT delta
|
||||||
prev = current_line->net_length - 1;
|
prev = current_line->net_length - 1;
|
||||||
w = current_line->net_length;
|
w = current_line->net_length;
|
||||||
d = (float)current_line->width/(float)fw;
|
d = (float)current_line->width/(float)fw;
|
||||||
if (d > 1.2) d -= 0.2;
|
if (d > 1.2f) d -= 0.2f;
|
||||||
next = prev/d;
|
next = prev/d;
|
||||||
if (next >= prev) next = prev-1;
|
if (next >= prev) next = prev-1;
|
||||||
do {
|
do {
|
||||||
|
|
Loading…
Reference in a new issue