msvcrt: Fix a typo.

This commit is contained in:
André Hentschel 2012-03-18 19:19:01 +01:00 committed by Alexandre Julliard
parent 2c23697ccd
commit 36217c208f
1 changed files with 1 additions and 1 deletions

View File

@ -510,7 +510,7 @@ int FUNC_NAME(pf_printf)(FUNC_NAME(puts_clbk) pf_puts, void *puts_ctx, const API
APICHAR *tmp = buf; APICHAR *tmp = buf;
int max_len; int max_len;
/* 0 padding is added after '0x' in Alternate flag is in use */ /* 0 padding is added after '0x' if Alternate flag is in use */
if((flags.Format=='x' || flags.Format=='X') && flags.PadZero && flags.Alternate if((flags.Format=='x' || flags.Format=='X') && flags.PadZero && flags.Alternate
&& !flags.LeftAlign && flags.Precision<flags.FieldLength-2) && !flags.LeftAlign && flags.Precision<flags.FieldLength-2)
flags.Precision = flags.FieldLength - 2; flags.Precision = flags.FieldLength - 2;