[HELP][SHUTDOWN]

* Use vfwprintf instead of _vcwprintf which shouldn't be exported.
CORE-8174

svn path=/trunk/; revision=63463
This commit is contained in:
Amine Khaldi 2014-05-26 13:48:49 +00:00
parent 29fe434f7d
commit 61651b63ee
2 changed files with 2 additions and 2 deletions

View file

@ -56,7 +56,7 @@ VOID PrintResourceString(INT resID, ...)
// FIXME: Optimize by using Win32 console functions.
if (IsConsoleHandle(OutputHandle))
{
_vcwprintf(tmpBuffer, arg_ptr);
vfwprintf(stdout, tmpBuffer, arg_ptr);
}
else
{

View file

@ -22,7 +22,7 @@ VOID PrintResourceString(INT resID, ...)
va_start(arg_ptr, resID);
LoadStringW(GetModuleHandle(NULL), resID, tmpBuffer, MAX_BUFFER_SIZE);
_vcwprintf(tmpBuffer, arg_ptr);
vfwprintf(stdout, tmpBuffer, arg_ptr);
va_end(arg_ptr);
}