From 99e7c50d7a0b5c859160ffe7ab72439725db46d8 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 3 Mar 2003 20:24:49 +0000 Subject: [PATCH] Typo fix. --- include/osgText/Text | 2 +- src/osgText/Text.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/osgText/Text b/include/osgText/Text index 864b04e82..55cef7fb4 100644 --- a/include/osgText/Text +++ b/include/osgText/Text @@ -97,7 +97,7 @@ public: /** Set the rendered character size in object coordinates.*/ - void setCharacterSize(float height,float ascpectRatio=1.0f); + void setCharacterSize(float height,float aspectRatio=1.0f); float getCharacterHeight() const { return _characterHeight; } float getCharacterAspectRatio() const { return _characterAspectRatio; } diff --git a/src/osgText/Text.cpp b/src/osgText/Text.cpp index 3afb63583..59929acad 100644 --- a/src/osgText/Text.cpp +++ b/src/osgText/Text.cpp @@ -76,10 +76,10 @@ void Text::setFontSize(unsigned int width, unsigned int height) } -void Text::setCharacterSize(float height,float ascpectRatio) +void Text::setCharacterSize(float height,float aspectRatio) { _characterHeight = height; - _characterAspectRatio = ascpectRatio; + _characterAspectRatio = aspectRatio; computeGlyphRepresentation(); }