Hello,
this patch greatly simplifies debugging of FT2 under Windows and makes it
similar to the one under Linux.
Changelog:
* builds/win32/ftdebug.c (FT_Message): Send debug output to the console
as well as to the debugger.
diff -upr freetype2/builds/win32/ftdebug.c freetype2/builds/win32/ftdebug.c
--- freetype2/builds/win32/ftdebug.c Fri Nov 18 07:23:06 2005
+++ freetype2/builds/win32/ftdebug.c Thu Jun 14 04:57:16 2007
@@ -63,6 +63,8 @@
va_start( ap, fmt );
+ vprintf( fmt, ap );
+ /* send the string to the debugger as well */
vsprintf( buf, fmt, ap );
OutputDebugStringA( buf );
va_end( ap );
_______________________________________________
Freetype-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype-devel