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:
@@ -592,11 +592,11 @@ static size_t PrintfViaString(T *out, size_t outsize,
|
|||||||
int wxVsprintf(char *str, const wxString& format, va_list argptr)
|
int wxVsprintf(char *str, const wxString& format, va_list argptr)
|
||||||
{
|
{
|
||||||
#if wxUSE_UTF8_LOCALE_ONLY
|
#if wxUSE_UTF8_LOCALE_ONLY
|
||||||
return vsprintf(str, format.wx_str(), argptr);
|
return wxCRT_VsprintfA(str, format.wx_str(), argptr);
|
||||||
#else
|
#else
|
||||||
#if wxUSE_UNICODE_UTF8
|
#if wxUSE_UNICODE_UTF8
|
||||||
if ( wxLocaleIsUtf8 )
|
if ( wxLocaleIsUtf8 )
|
||||||
return vsprintf(str, format.wx_str(), argptr);
|
return wxCRT_VsprintfA(str, format.wx_str(), argptr);
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
#if wxUSE_UNICODE
|
#if wxUSE_UNICODE
|
||||||
|
Reference in New Issue
Block a user