From 56413ebff7fa6c0843c7b05b73ca4f76bf5dcd40 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Mon, 17 May 2004 20:17:47 +0000 Subject: [PATCH] calling FormatV seems to be correct, as we are already passing a va_list git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/wxchar.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/wxchar.cpp b/src/common/wxchar.cpp index ce74d2bd61..c09896179c 100644 --- a/src/common/wxchar.cpp +++ b/src/common/wxchar.cpp @@ -962,9 +962,9 @@ int wxSprintf( wxChar *str, const wxChar *format, ... ) va_list argptr; va_start(argptr, format); - // note that wxString::Format() uses wxVsnprintf(), not wxSprintf(), so + // note that wxString::FormatV() uses wxVsnprintf(), not wxSprintf(), so // it's safe to implement this one in terms of it - wxString s(wxString::Format(format, argptr)); + wxString s(wxString::FormatV(format, argptr)); wxStrcpy(str, s); va_end(argptr); -- 2.45.2