[ROSAUTOTEST]
authorThomas Faber <thomas.faber@reactos.org>
Sun, 12 Oct 2014 13:23:38 +0000 (13:23 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Sun, 12 Oct 2014 13:23:38 +0000 (13:23 +0000)
- DbgPrint expects a format string!
ROSTESTS-145 #resolve

svn path=/trunk/; revision=64695

rostests/rosautotest/tools.cpp

index 38df4aa..417e809 100644 (file)
@@ -136,7 +136,7 @@ StringOut(const string& String, bool forcePrint)
                 }
 
                 DbgString[size] = 0;
-                DbgPrint(DbgString);
+                OutputDebugStringA(DbgString);
             }
 
             last_newline = curr_pos;
@@ -153,7 +153,7 @@ StringOut(const string& String, bool forcePrint)
 
         memcpy(DbgString, NewString.c_str() + start, size);
         DbgString[size] = 0;
-        DbgPrint(DbgString);
+        OutputDebugStringA(DbgString);
 
         NewString.clear();
         return NewString;