mirror of
https://github.com/reactos/reactos.git
synced 2024-07-06 20:55:16 +00:00
- Revert 35131 till a more complete fix is available.
svn path=/trunk/; revision=35132
This commit is contained in:
parent
b86b32b0c4
commit
81538de14a
15
reactos/lib/3rdparty/libwine/debug.c
vendored
15
reactos/lib/3rdparty/libwine/debug.c
vendored
|
@ -42,16 +42,6 @@ DbgPrint(
|
|||
IN ...
|
||||
);
|
||||
|
||||
ULONG
|
||||
__cdecl
|
||||
vDbgPrintExWithPrefix(
|
||||
IN LPCSTR Prefix,
|
||||
IN ULONG ComponentId,
|
||||
IN ULONG Level,
|
||||
IN LPCSTR Format,
|
||||
IN va_list ap);
|
||||
|
||||
|
||||
static const char * const debug_classes[] = { "fixme", "err", "warn", "trace" };
|
||||
|
||||
#define MAX_DEBUG_OPTIONS 256
|
||||
|
@ -394,7 +384,10 @@ static const char *default_dbgstr_wn( const WCHAR *str, int n )
|
|||
/* default implementation of wine_dbg_vprintf */
|
||||
static int default_dbg_vprintf( const char *format, va_list args )
|
||||
{
|
||||
return vDbgPrintExWithPrefix(NULL, -1, 0, format, args);
|
||||
char buffer[512];
|
||||
vsnprintf( buffer, sizeof(buffer), format, args );
|
||||
buffer[sizeof(buffer) - 1] = '\0';
|
||||
return DbgPrint( "%s", buffer );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue