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/client/notifications.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/client/notifications.cc') diff --git a/src/client/notifications.cc b/src/client/notifications.cc index 25cbe0b..062aacb 100644 --- a/src/client/notifications.cc +++ b/src/client/notifications.cc @@ -58,11 +58,11 @@ void Notifications::draw() const float margin = ui::UI::elementmargin; math::Vector2f s(size()); - s.x -= margin*2; - s.y -= margin*2; + s[0] -= margin*2; + s[1] -= margin*2; notify_scrollpane->set_location(margin, margin); - notify_scrollpane->set_size(s.x, s.y ); + notify_scrollpane->set_size(s.x(), s.y() ); } -- cgit v1.2.3