From d763e294f44eb38b94bf7e2055b77a982b72b7c0 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 16 Aug 2009 17:34:00 +0000 Subject: more constness --- src/ui/font.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ui/font.h') diff --git a/src/ui/font.h b/src/ui/font.h index 1261427..4fb6310 100644 --- a/src/ui/font.h +++ b/src/ui/font.h @@ -28,11 +28,11 @@ public: } inline float width() const { - return font_size.x; + return font_size.width(); } inline float height() const { - return font_size.y; + return font_size.height(); } void set_size(const float width, const float height); -- cgit v1.2.3