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.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ui/font.cc') diff --git a/src/ui/font.cc b/src/ui/font.cc index 9d721fd..1523eeb 100644 --- a/src/ui/font.cc +++ b/src/ui/font.cc @@ -31,12 +31,12 @@ void Font::set_size(const math::Vector2f &size) void Font::set_width(const float width) { - font_size.x = width; + font_size.get_x() = width; } void Font::set_height(const float height) { - font_size.y = height; + font_size.get_y() = height; } void Font::set_name(const char *name) -- cgit v1.2.3