Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2009-08-16 17:34:00 +0000
committerStijn Buys <ingar@osirion.org>2009-08-16 17:34:00 +0000
commitd763e294f44eb38b94bf7e2055b77a982b72b7c0 (patch)
tree37f91c6b7fee58fcecfbfc54dda3f71eb8617b9f /src/ui/font.cc
parent95cc140404c6524ea16e193e1421e826b239114f (diff)
more constness
Diffstat (limited to 'src/ui/font.cc')
-rw-r--r--src/ui/font.cc4
1 files changed, 2 insertions, 2 deletions
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)