Commit 73840852016dc69bcf44373ef8ffae0238fead26

Alexei Podtelezhnikov 2017-10-14T22:22:27

* builds/windows/ftdebug.c (FT_Message): Print to stderr. * builds/wince/ftdebug.c (FT_Message): Ditto.

diff --git a/ChangeLog b/ChangeLog
index 4cc182a..1ee88ca 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-10-14  Alexei Podtelezhnikov  <apodtele@gmail.com>
+
+	* builds/windows/ftdebug.c (FT_Message): Print to stderr.
+        * builds/wince/ftdebug.c (FT_Message): Ditto.
+
 2017-10-14  Behdad Esfahbod  <behdad@behdad.org>
 
 	[afshaper] Delay creating `hb_set' objects until needed.
diff --git a/builds/wince/ftdebug.c b/builds/wince/ftdebug.c
index 7a20e2f..f516726 100644
--- a/builds/wince/ftdebug.c
+++ b/builds/wince/ftdebug.c
@@ -79,7 +79,7 @@
 
 
     va_start( ap, fmt );
-    vprintf( fmt, ap );
+    vfprintf( stderr, fmt, ap );
     /* send the string to the debugger as well */
     vsprintf( buf, fmt, ap );
     OutputDebugStringEx( buf );
diff --git a/builds/windows/ftdebug.c b/builds/windows/ftdebug.c
index cadfcea..510768c 100644
--- a/builds/windows/ftdebug.c
+++ b/builds/windows/ftdebug.c
@@ -65,7 +65,7 @@
 
 
     va_start( ap, fmt );
-    vprintf( fmt, ap );
+    vfprintf( stderr, fmt, ap );
     /* send the string to the debugger as well */
     vsprintf( buf, fmt, ap );
     OutputDebugStringA( buf );