mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
implemented wine_dbg_sprintf()
svn path=/trunk/; revision=7485
This commit is contained in:
parent
a67fb59c6e
commit
163af77b0b
1 changed files with 7 additions and 2 deletions
|
@ -203,7 +203,12 @@ const char *wine_dbgstr_guid(const GUID *id)
|
|||
/* varargs wrapper for __wine_dbg_vsprintf */
|
||||
const char *wine_dbg_sprintf( const char *format, ... )
|
||||
{
|
||||
static char fixme[] = "FIXME: implement wine_dbg_sprintf";
|
||||
char* buffer = gimme1(1024);
|
||||
va_list ap;
|
||||
|
||||
return fixme;
|
||||
va_start(ap, format);
|
||||
release(buffer+vsnprintf(buffer, 1024, format, ap));
|
||||
va_end(ap);
|
||||
|
||||
return buffer;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue