Skip to content

Commit 025816a

Browse files
author
Spacebrain
committed
fputs does the same job as fprintf except that the last one is designed for formatted strings
1 parent c4a7c11 commit 025816a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/xrD3D9-Null/xrD3D9-Null_OutProc.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,7 @@ void LogOut_File(const char *pszFormat, ...)
5757
va_start(va, pszFormat);
5858
vsprintf(s, pszFormat, va);
5959
va_end(va);
60-
fprintf(stderr,s);
61-
60+
fputs(s,stderr);
6261

6362
FILE *fp;
6463
fp = fopen("d3d9-null.log","a+t");

0 commit comments

Comments
 (0)