[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ft-devel] PATCH: builds/win32/ftdebug.c (FT_Message): Send debug output
From: |
Dmitry Timoshkov |
Subject: |
[ft-devel] PATCH: builds/win32/ftdebug.c (FT_Message): Send debug output to the console as well as to the debugger |
Date: |
Thu, 14 Jun 2007 14:13:20 +0900 |
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 );
- [ft-devel] PATCH: builds/win32/ftdebug.c (FT_Message): Send debug output to the console as well as to the debugger,
Dmitry Timoshkov <=