17 lines
820 B
Diff
17 lines
820 B
Diff
Index: libraries/fcollada/src/FCollada/FUtils/FUDebug.cpp
|
|
===================================================================
|
|
--- libraries/fcollada/src/FCollada/FUtils/FUDebug.cpp 2008-09-08 00:13:25.000000000 +0200
|
|
+++ libraries/fcollada/src/FCollada/FUtils/FUDebug.cpp 2010-07-14 19:27:11.850136645 +0200
|
|
@@ -20,9 +20,9 @@
|
|
|
|
#if defined(LINUX) || defined(__APPLE__)
|
|
#if defined(UNICODE)
|
|
-#define STRING_OUT(sz) fprintf(stderr, TO_STRING(sz).c_str()); fflush(stderr);
|
|
+#define STRING_OUT(sz) fprintf(stderr, "%s", TO_STRING(sz).c_str()); fflush(stderr);
|
|
#else
|
|
-#define STRING_OUT(sz) fprintf(stderr, sz); fflush(stderr);
|
|
+#define STRING_OUT(sz) fprintf(stderr, "%s", sz); fflush(stderr);
|
|
#endif // UNICODE
|
|
#elif defined(WIN32)
|
|
#define STRING_OUT(sz) OutputDebugString(sz); OutputDebugString(FC("\n"))
|