Commit c665c3c6 authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

oleaut32: Reorder some code to make it easier to read and look like the block above.

parent e2f3b143
......@@ -1264,13 +1264,11 @@ static HRESULT VARIANT_FormatNumber(LPVARIANT pVarIn, LPOLESTR lpszFormat,
/* Exponent format: length of the integral number part is fixed and
specified by the format. */
pad = need_int - have_int;
if (pad >= 0)
exponent -= pad;
else
exponent -= pad;
if (pad < 0)
{
have_int = need_int;
have_frac -= pad;
exponent -= pad;
pad = 0;
}
}
......
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