diff options
author | pixel <pixel> | 2002-12-23 10:47:10 +0000 |
---|---|---|
committer | pixel <pixel> | 2002-12-23 10:47:10 +0000 |
commit | 6de972be0a2b03023bad880300abeb0bd7a25be4 (patch) | |
tree | 4244c91bbb7f691cc03c538d153d06bd484e2676 /lib | |
parent | 0e58972c009fc4d8ad2a69a453eeb6529c619bc7 (diff) |
Bleh
Diffstat (limited to 'lib')
-rw-r--r-- | lib/glfont.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/glfont.cc b/lib/glfont.cc index a321aaf..2c888ab 100644 --- a/lib/glfont.cc +++ b/lib/glfont.cc @@ -227,7 +227,7 @@ void mogltk::font::putchar(char ch, Color c) { } } -int mogltk::font::getchar(char ch) { +int mogltk::font::getchar(char ch) const { Uint16 * p; int i; @@ -274,8 +274,8 @@ void mogltk::font::setshadow(int s) { shadow = s; } -int mogltk::font::singletextsize(const String & s) { - int i; +int mogltk::font::singletextsize(const String & s) const { + unsigned int i; int r = 0; for (i = 0; i < s.strlen(); i++) { |