kernel32: Fix a valgrind warning in format_add_char(). (Valgrind).
This commit is contained in:
parent
35e56fb042
commit
87a78ed878
|
@ -297,7 +297,7 @@ static void format_add_char(struct _format_message_data *fmd, WCHAR c)
|
|||
LPWSTR notspace;
|
||||
if (fmd->space) {
|
||||
notspace = fmd->space;
|
||||
while (*notspace == ' ' && notspace != fmd->t)
|
||||
while (notspace != fmd->t && *notspace == ' ')
|
||||
notspace++;
|
||||
} else
|
||||
notspace = fmd->space = fmd->t;
|
||||
|
|
Loading…
Reference in New Issue