Commit 76f1128ad83f5be0d4e9d538c137235890f5bb32

henry 2001-09-14T00:40:43

Changed the order in which things are cleaned up when this object is destroyed.

diff --git a/src/FTFace.cpp b/src/FTFace.cpp
index 919b01f..5536462 100755
--- a/src/FTFace.cpp
+++ b/src/FTFace.cpp
@@ -12,12 +12,7 @@ FTFace::FTFace()
 
 FTFace::~FTFace()
 {
-	if( ftFace)
-	{
-		Close();
-		delete ftFace; // is this a prob?
-		ftFace = 0;
-	}
+	Close();
 }
 
 
@@ -41,7 +36,12 @@ bool FTFace::Open( const char* filename)
 
 void FTFace::Close()
 {
-	FT_Done_Face( *ftFace);
+	if( ftFace)
+	{
+		FT_Done_Face( *ftFace);
+		delete ftFace; // is this a prob?
+		ftFace = 0;
+	}
 }