As checkAPIs.pl says, "use StringCchPrintf".
svn path=/trunk/; revision=54641
This commit is contained in:
parent
62796c01f0
commit
e8dd800cc1
|
@ -109,7 +109,7 @@ utf_8to16_snprintf(TCHAR *utf16buf, gint utf16buf_len, const gchar* fmt, ...)
|
|||
dst = g_strdup_vprintf(fmt, ap);
|
||||
va_end(ap);
|
||||
|
||||
_snwprintf(utf16buf, utf16buf_len, _T("%s"), utf_8to16(dst));
|
||||
StringCchPrintf(utf16buf, utf16buf_len, _T("%s"), utf_8to16(dst));
|
||||
|
||||
g_free(dst);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue