mirror of
https://github.com/reactos/wine.git
synced 2025-02-28 00:39:06 +00:00
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…
x
Reference in New Issue
Block a user