removed bogus warnings
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
diff --git a/ChangeLog b/ChangeLog
index 0918458..ffc8c0a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2001-10-22 David Turner <david@freetype.org>
+ * src/pshinter/pshalgo2.c (psh2_hint_table_record_mask): removed some
+ bogus warnings..
+
* include/freetype/internal/ftmemory.h, src/base/ftdbgmem.c: modified
the debugging memory manager to report the location (source file name
+ line number) where leaked memory blocks are allocated in the source
diff --git a/include/freetype/config/ftoption.h b/include/freetype/config/ftoption.h
index a563db4..06ef56d 100644
--- a/include/freetype/config/ftoption.h
+++ b/include/freetype/config/ftoption.h
@@ -227,8 +227,8 @@ FT_BEGIN_HEADER
/* */
/* Don't define any of these macros to compile in `release' mode! */
/* */
-/* #define FT_DEBUG_LEVEL_ERROR */
-/* #define FT_DEBUG_LEVEL_TRACE */
+#define FT_DEBUG_LEVEL_ERROR
+#define FT_DEBUG_LEVEL_TRACE
/*************************************************************************/
/* */
diff --git a/src/pshinter/pshalgo2.c b/src/pshinter/pshalgo2.c
index 869297b..135e4f7 100644
--- a/src/pshinter/pshalgo2.c
+++ b/src/pshinter/pshalgo2.c
@@ -119,12 +119,6 @@
limit = hint_mask->num_bits;
- if ( limit != table->max_hints )
- {
- FT_ERROR(( "%s.activate_mask: invalid bit count (%d instead of %d)\n",
- "ps.fitter", hint_mask->num_bits, table->max_hints ));
- }
-
for ( index = 0; index < limit; index++ )
{
if ( mask == 0 )