From 5aaaab86e40f09eed8af6fffbbd77271cc525a42 Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Sun, 12 Oct 2014 13:23:38 +0000 Subject: [PATCH] [ROSAUTOTEST] - DbgPrint expects a format string! ROSTESTS-145 #resolve svn path=/trunk/; revision=64695 --- rostests/rosautotest/tools.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rostests/rosautotest/tools.cpp b/rostests/rosautotest/tools.cpp index 38df4aa096c..417e8091d1f 100644 --- a/rostests/rosautotest/tools.cpp +++ b/rostests/rosautotest/tools.cpp @@ -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;