Commit 9b527d49 authored by Jason Edmeades's avatar Jason Edmeades Committed by Alexandre Julliard

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

%C.
parent de70942e
...@@ -2851,7 +2851,7 @@ int MSVCRT_vfprintf(MSVCRT_FILE* file, const char *format, va_list valist) ...@@ -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 * Return the number of bytes that would have been written
* The code below handles both cases * 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) written > resize)
{ {
resize = (written == -1 ? resize * 2 : written + 1); resize = (written == -1 ? resize * 2 : written + 1);
......
...@@ -576,6 +576,7 @@ double MSVCRT_difftime(MSVCRT_time_t time1, MSVCRT_time_t time2); ...@@ -576,6 +576,7 @@ double MSVCRT_difftime(MSVCRT_time_t time1, MSVCRT_time_t time2);
MSVCRT_time_t MSVCRT_time(MSVCRT_time_t*); MSVCRT_time_t MSVCRT_time(MSVCRT_time_t*);
void * MSVCRT___p__daylight(void); void * MSVCRT___p__daylight(void);
MSVCRT_FILE* MSVCRT__fdopen(int, const char *); 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 #ifndef __WINE_MSVCRT_TEST
int _write(int,const void*,unsigned int); int _write(int,const void*,unsigned int);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment