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/client/notifications.cc
parent95cc140404c6524ea16e193e1421e826b239114f (diff)
more constness
Diffstat (limited to 'src/client/notifications.cc')
-rw-r--r--src/client/notifications.cc6
1 files changed, 3 insertions, 3 deletions
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() );
}