oleaut32: Reorder some code to make it easier to read and look like the block above.
This commit is contained in:
parent
e2f3b143fd
commit
c665c3c619
|
@ -1264,13 +1264,11 @@ static HRESULT VARIANT_FormatNumber(LPVARIANT pVarIn, LPOLESTR lpszFormat,
|
||||||
/* Exponent format: length of the integral number part is fixed and
|
/* Exponent format: length of the integral number part is fixed and
|
||||||
specified by the format. */
|
specified by the format. */
|
||||||
pad = need_int - have_int;
|
pad = need_int - have_int;
|
||||||
if (pad >= 0)
|
exponent -= pad;
|
||||||
exponent -= pad;
|
if (pad < 0)
|
||||||
else
|
|
||||||
{
|
{
|
||||||
have_int = need_int;
|
have_int = need_int;
|
||||||
have_frac -= pad;
|
have_frac -= pad;
|
||||||
exponent -= pad;
|
|
||||||
pad = 0;
|
pad = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue