Make msvcrt printf use the internal routines which understand %S and

%C.
This commit is contained in:
Jason Edmeades 2005-03-07 11:00:46 +00:00 committed by Alexandre Julliard
parent de70942e6d
commit 9b527d4953
2 changed files with 2 additions and 1 deletions

View File

@ -2851,7 +2851,7 @@ int MSVCRT_vfprintf(MSVCRT_FILE* file, const char *format, va_list valist)
* Return the number of bytes that would have been written
* The code below handles both cases
*/
while ((written = vsnprintf(mem, resize, format, valist)) == -1 ||
while ((written = MSVCRT_vsnprintf(mem, resize, format, valist)) == -1 ||
written > resize)
{
resize = (written == -1 ? resize * 2 : written + 1);

View File

@ -576,6 +576,7 @@ double MSVCRT_difftime(MSVCRT_time_t time1, MSVCRT_time_t time2);
MSVCRT_time_t MSVCRT_time(MSVCRT_time_t*);
void * MSVCRT___p__daylight(void);
MSVCRT_FILE* MSVCRT__fdopen(int, const char *);
int MSVCRT_vsnprintf(char *str, unsigned int len, const char *format, va_list valist);
#ifndef __WINE_MSVCRT_TEST
int _write(int,const void*,unsigned int);