ntdll: Don't do further calls to pf_output_stringA if previous call failed.
This commit is contained in:
parent
29de7dd60b
commit
805311f798
|
@ -169,7 +169,7 @@ static inline int pf_fill( pf_output *out, int len, pf_flags *flags, char left )
|
|||
}
|
||||
}
|
||||
|
||||
if( left && flags->Sign && !flags->PadZero )
|
||||
if (left && flags->Sign && !flags->PadZero && r >= 0)
|
||||
r = pf_output_stringA( out, &flags->Sign, 1 );
|
||||
|
||||
return r;
|
||||
|
|
Loading…
Reference in New Issue