use wxCRT_VsprintfA name instead of vsprintf, for consistency

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2007-06-22 18:41:07 +00:00
parent b1f8fd3b41
commit 04fd66c9f7

View File

@ -592,11 +592,11 @@ static size_t PrintfViaString(T *out, size_t outsize,
int wxVsprintf(char *str, const wxString& format, va_list argptr)
{
#if wxUSE_UTF8_LOCALE_ONLY
return vsprintf(str, format.wx_str(), argptr);
return wxCRT_VsprintfA(str, format.wx_str(), argptr);
#else
#if wxUSE_UNICODE_UTF8
if ( wxLocaleIsUtf8 )
return vsprintf(str, format.wx_str(), argptr);
return wxCRT_VsprintfA(str, format.wx_str(), argptr);
else
#endif
#if wxUSE_UNICODE