Commit f8b7df3d8bce27333990110879dacf417a9033c9

henry 2001-08-05T21:39:50

Minor tidy ups and made render() arg const

diff --git a/include/FTGlyph.h b/include/FTGlyph.h
index 5cc4995..b7d974d 100755
--- a/include/FTGlyph.h
+++ b/include/FTGlyph.h
@@ -14,7 +14,7 @@ class FTGlyph
 		// methods
 		FTGlyph( int glyphIndex);
 		virtual ~FTGlyph();
-		virtual float Render( FT_Vector& v) = 0;
+		virtual float Render( const FT_Vector& v) = 0;
 		
 		FT_Error Error() const { return err;}
 		
diff --git a/src/FTGlyph.cpp b/src/FTGlyph.cpp
index d23ae72..c83ef4e 100755
--- a/src/FTGlyph.cpp
+++ b/src/FTGlyph.cpp
@@ -5,7 +5,8 @@
 FTGlyph::FTGlyph( int gi)
 :	advance(0),
 	glyphIndex(gi),
-	ftGlyph(0)
+	ftGlyph(0),
+	err(0)	
 {
 	pos.x = 0;
 	pos.y = 0;