Commit ad02c78f82fd8589df62919aaef8c3627ac69ea8

henry 2002-12-19T10:28:19

Made return value const

diff --git a/include/FTFace.h b/include/FTFace.h
index 19f9687..9600b75 100755
--- a/include/FTFace.h
+++ b/include/FTFace.h
@@ -75,7 +75,7 @@ class FTGL_EXPORT FTFace
          * @param res       the resolution of the target device.
          * @return          <code>FTSize</code> object
          */
-        FTSize& Size( const unsigned int size, const unsigned int res);
+        const FTSize& Size( const unsigned int size, const unsigned int res);
 
         /**
          * Sets the character map for the face.
diff --git a/src/FTFace.cpp b/src/FTFace.cpp
index ffe24d0..2cda0e9 100755
--- a/src/FTFace.cpp
+++ b/src/FTFace.cpp
@@ -83,7 +83,7 @@ void FTFace::Close()
 }
 
 
-FTSize& FTFace::Size( const unsigned int size, const unsigned int res)
+const FTSize& FTFace::Size( const unsigned int size, const unsigned int res)
 {
     charSize.CharSize( ftFace, size, res, res);
     err = charSize.Error();