[NFS] Improve NFS41DbgPrint() a _little_ bit

This commit is contained in:
Hermès Bélusca-Maïto
2025-08-25 21:00:39 +02:00
parent a449eb3e0e
commit 991c57a93b
+7 -1
View File
@@ -47,13 +47,19 @@ ULONG _cdecl NFS41DbgPrint( __in LPTSTR Format, ... )
va_list marker;
va_start( marker, Format );
{
#ifndef __REACTOS__
//StringCchVPrintfW( szbuffer, 127, Format, marker );
StringCchVPrintfW( szbuffer, 256, Format, marker );
szbuffer[255] = (TCHAR)0;
#else
StringCchVPrintf( szbuffer, 256, Format, marker );
#endif
OutputDebugString( TRACE_TAG );
OutputDebugString( szbuffer );
}
#ifdef __REACTOS__
va_end(marker);
#endif
return rc;
}