Commit 08a645d833a2e04491fd3c56bb8605c0e7e773b4

Werner Lemberg 2007-06-15T14:05:20

* builds/win32/ftdebug.c: Unify debug level handling with other platforms.

diff --git a/ChangeLog b/ChangeLog
index 11f0824..3872fe0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-06-15  Dmitry Timoshkov  <dmitry@codeweavers.com>
+
+	* builds/win32/ftdebug.c: Unify debug level handling with other
+	platforms.
+
 2006-06-14  Dmitry Timoshkov  <dmitry@codeweavers.com>
 
 	* builds/win32/ftdebug.c (FT_Message): Send debug output to the
diff --git a/builds/win32/ftdebug.c b/builds/win32/ftdebug.c
index 70a1da3..886144f 100644
--- a/builds/win32/ftdebug.c
+++ b/builds/win32/ftdebug.c
@@ -175,7 +175,7 @@
           if ( *p )
           {
             level = *p++ - '0';
-            if ( level < 0 || level > 6 )
+            if ( level < 0 || level > 7 )
               level = -1;
           }