mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
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
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user