Mercurial > mm7
diff texts.cpp @ 246:1bfe546561c4
sprintfex
author | Nomad |
---|---|
date | Mon, 18 Feb 2013 03:58:08 +0200 |
parents | 038a4d09406f |
children | 1ff57450f090 |
line wrap: on
line diff
--- a/texts.cpp Sun Feb 17 18:04:22 2013 +0100 +++ b/texts.cpp Mon Feb 18 03:58:08 2013 +0200 @@ -15,6 +15,20 @@ char *pGlobalTXT_LocalizationStrings[MAX_LOC_STRINGS]; + +int __cdecl sprintfex(char *buf, const char *format, ...) +{ + va_list args_ptr; + va_start(args_ptr, format); + { + vsprintf(buf, format, args_ptr); + } + va_end(args_ptr); + + extern int __cdecl sprintfex_internal(char *buf); + return sprintfex_internal(buf); +} + //----- (00452B95) -------------------------------------------------------- void __cdecl SetSomeItemsNames() {