From 661212b5f507e1c5abc64932f95b6397193329f5 Mon Sep 17 00:00:00 2001 From: Sebastian Lackner <sebastian@fds-team.de> Date: Fri, 20 Dec 2013 05:54:09 +0100 Subject: [PATCH] ntdll: Fix incorrect value added to out->used in pf_output_stringA. --- dlls/ntdll/printf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/ntdll/printf.c b/dlls/ntdll/printf.c index 0a27f7e0801..49d39833ec7 100644 --- a/dlls/ntdll/printf.c +++ b/dlls/ntdll/printf.c @@ -137,7 +137,7 @@ static inline int pf_output_stringA( pf_output *out, LPCSTR str, int len ) return len; } if (space > 0) RtlMultiByteToUnicodeN( p, space * sizeof(WCHAR), NULL, str, len ); - out->used += n; + out->used += n / sizeof(WCHAR); } return -1; } -- 2.24.1