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

This commit is contained in:
André Hentschel 2010-02-22 18:52:37 +01:00 committed by Alexandre Julliard
parent e2f3b143fd
commit c665c3c619
1 changed files with 2 additions and 4 deletions

View File

@ -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;
}
}