From 6de972be0a2b03023bad880300abeb0bd7a25be4 Mon Sep 17 00:00:00 2001 From: pixel Date: Mon, 23 Dec 2002 10:47:10 +0000 Subject: Bleh --- lib/glfont.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/glfont.cc') 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++) { -- cgit v1.2.3