11 May
2011
11 May
'11
7:56 a.m.
On Wed, May 11, 2011 at 12:20:51PM +0200, Piotr Caban wrote:
--- dlls/msvcrt/printf.h | 2 +- dlls/msvcrt/wcs.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/msvcrt/printf.h b/dlls/msvcrt/printf.h index 64d159e..53f35bc 100644 --- a/dlls/msvcrt/printf.h +++ b/dlls/msvcrt/printf.h @@ -607,7 +607,7 @@ static int FUNC_NAME(create_positional_ctx)(void *args_ctx, const APICHAR *forma int i, j;
i = FUNC_NAME(pf_printf)(FUNC_NAME(puts_clbk_str), &puts_ctx, format, NULL, TRUE, FALSE, - arg_clbk_type, args_ctx, NULL); + arg_clbk_type, args_ctx, valist);
You cannot use a valist twice. va_copy() before to a second one if you need the information twice. Ciao, Marcus