r365 - trunk

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Sep 26 23:01:39 EDT 2007


Author: icculus
Date: 2007-09-26 23:01:39 -0400 (Wed, 26 Sep 2007)
New Revision: 365

Modified:
   trunk/platform_windows.c
Log:
Add endlines to OutputDebugString() text.

Modified: trunk/platform_windows.c
===================================================================
--- trunk/platform_windows.c	2007-09-27 03:00:40 UTC (rev 364)
+++ trunk/platform_windows.c	2007-09-27 03:01:39 UTC (rev 365)
@@ -1477,10 +1477,12 @@
 {
     if (pOutputDebugStringW != NULL) // in case this gets called before init...
     {
+        static const WCHAR endl[3] = { '\r', '\n', '\0' };
         WCHAR *wstr;
         UTF8_TO_UNICODE_STACK_MACRO(wstr, str);
         STUBBED("OutputDebugString() is probably not best here");
         pOutputDebugStringW(wstr);
+        pOutputDebugStringW(endl);
         smallFree(wstr);
     } // if
 } // MojoPlatform_log




More information about the mojosetup-commits mailing list