summaryrefslogtreecommitdiff
path: root/src/freetype2/base/ftdebug.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/freetype2/base/ftdebug.c')
-rw-r--r--src/freetype2/base/ftdebug.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/freetype2/base/ftdebug.c b/src/freetype2/base/ftdebug.c
index c55d3c8..2adbeab 100644
--- a/src/freetype2/base/ftdebug.c
+++ b/src/freetype2/base/ftdebug.c
@@ -4,7 +4,7 @@
/* */
/* Debugging and logging component (body). */
/* */
-/* Copyright 1996-2001, 2002, 2004 by */
+/* Copyright 1996-2001, 2002, 2004, 2008 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */
/* This file is part of the FreeType project, and may only be used, */
@@ -46,7 +46,7 @@
#include FT_INTERNAL_DEBUG_H
-#if defined( FT_DEBUG_LEVEL_ERROR )
+#ifdef FT_DEBUG_LEVEL_ERROR
/* documentation is in ftdebug.h */
@@ -57,7 +57,7 @@
va_start( ap, fmt );
- vprintf( fmt, ap );
+ vfprintf( stderr, fmt, ap );
va_end( ap );
}
@@ -71,7 +71,7 @@
va_start( ap, fmt );
- vprintf( fmt, ap );
+ vfprintf( stderr, fmt, ap );
va_end( ap );
exit( EXIT_FAILURE );