summaryrefslogtreecommitdiff
path: root/lib/glfont.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/glfont.cc')
-rw-r--r--lib/glfont.cc6
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++) {