Commit ed6736d064a3754e3aa494464a8cdf05afd59c2c

henry 2003-09-21T01:42:46

Fixed memory face error code

diff --git a/test/FTFace-Test.cpp b/test/FTFace-Test.cpp
index 88dc0be..186ca6e 100755
--- a/test/FTFace-Test.cpp
+++ b/test/FTFace-Test.cpp
@@ -39,7 +39,7 @@ class FTFaceTest : public CppUnit::TestCase
         void testOpenFaceFromMemory()
         {
             FTFace face1( (unsigned char*)100, 0);
-            CPPUNIT_ASSERT( face1.Error() == 85);        
+            CPPUNIT_ASSERT( face1.Error() == 0x02);        
         
             FTFace face2( HPGCalc_pfb.dataBytes, HPGCalc_pfb.numBytes);
             CPPUNIT_ASSERT( face2.Error() == 0);        
diff --git a/test/FTFont-Test.cpp b/test/FTFont-Test.cpp
index fca4171..0c36f56 100755
--- a/test/FTFont-Test.cpp
+++ b/test/FTFont-Test.cpp
@@ -3,7 +3,6 @@
 #include "cppunit/TestCase.h"
 #include "cppunit/TestSuite.h"
 
-
 #include "Fontdefs.h"
 #include "FTGlyph.h"
 #include "FTFont.h"
@@ -81,7 +80,7 @@ class FTFontTest : public CppUnit::TestCase
         void testOpenFontFromMemory()
         {
             TestFont badFont( (unsigned char*)100, 0);
-            CPPUNIT_ASSERT( badFont.Error() == 85);        
+            CPPUNIT_ASSERT( badFont.Error() == 0x02);
         
             TestFont goodFont( HPGCalc_pfb.dataBytes, HPGCalc_pfb.numBytes);
             CPPUNIT_ASSERT( goodFont.Error() == 0);