summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2002-01-19 02:24:22 +0000
committerWerner Lemberg <wl@gnu.org>2002-01-19 02:24:22 +0000
commit9d7468015bb7ef9d265a81af4a19c4fed6369883 (patch)
tree84c9940654f3af7755d00f71bb9285b6dd9b8f51
parent6b86b0b54de4b34318b9b1ed1937294c32513e6d (diff)
downloadfreetype2-9d7468015bb7ef9d265a81af4a19c4fed6369883.tar.gz
Undo incorrect commit.
-rw-r--r--builds/amiga/src/base/ftdebug.c23
1 files changed, 11 insertions, 12 deletions
diff --git a/builds/amiga/src/base/ftdebug.c b/builds/amiga/src/base/ftdebug.c
index db0d36f4a..3e163374c 100644
--- a/builds/amiga/src/base/ftdebug.c
+++ b/builds/amiga/src/base/ftdebug.c
@@ -1,8 +1,11 @@
+// TetiSoft: replaced vprintf() with KVPrintF() and commented out exit()
+extern void __stdargs KVPrintF( const char *formatString, const void *values );
+
/***************************************************************************/
/* */
/* ftdebug.c */
/* */
-/* Debugging and logging component for Win32 (body). */
+/* Debugging and logging component (body). */
/* */
/* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
@@ -57,19 +60,16 @@
#include <stdlib.h>
#include <string.h>
-#include <windows.h>
-
FT_EXPORT_DEF( void )
FT_Message( const char* fmt, ... )
{
- static char buf[8192];
- va_list ap;
+ va_list ap;
va_start( ap, fmt );
- vsprintf( buf, fmt, ap );
- OutputDebugStringA( buf );
+// vprintf( fmt, ap );
+ KVPrintF( fmt, ap );
va_end( ap );
}
@@ -77,16 +77,15 @@
FT_EXPORT_DEF( void )
FT_Panic( const char* fmt, ... )
{
- static char buf[8192];
- va_list ap;
+ va_list ap;
va_start( ap, fmt );
- vsprintf( buf, fmt, ap );
- OutputDebugStringA( buf );
+// vprintf( fmt, ap );
+ KVPrintF( fmt, ap );
va_end( ap );
- exit( EXIT_FAILURE );
+// exit( EXIT_FAILURE );
}