From bd828f598c87a152b7ae422732cc8d93e0bc9933 Mon Sep 17 00:00:00 2001 From: Ian McInerney Date: Wed, 5 Jan 2022 19:23:02 +0000 Subject: [PATCH] Fix compile error with UTF8 unicode wxWidgets build Fixes https://gitlab.com/kicad/code/kicad/issues/10210 --- include/trace_helpers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/trace_helpers.h b/include/trace_helpers.h index 8cde0d5d14..4c9ffe229f 100644 --- a/include/trace_helpers.h +++ b/include/trace_helpers.h @@ -242,7 +242,7 @@ public: void DoTraceUtf8( const wxString aWhat, const wxChar* aFmt, ... ) { va_list argptr; - va_start( argptr, format ); + va_start( argptr, aFmt ); traceV( aWhat, aFmt, argptr ); va_end( argptr ); }