Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/notifications.cc')
-rw-r--r--src/client/notifications.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/client/notifications.cc b/src/client/notifications.cc
index 062aacb..90c5e3e 100644
--- a/src/client/notifications.cc
+++ b/src/client/notifications.cc
@@ -1,7 +1,7 @@
/*
client/notifications.cc
- This file is part of the Osirion project and is distributed under
- the terms and conditions of the GNU General Public License version 2
+ This file is part of the Osirion project and is distributed under
+ the terms and conditions of the GNU General Public License version 2
*/
#include "client/notifications.h"
@@ -48,7 +48,7 @@ void Notifications::event_text(const std::string & text)
void Notifications::draw()
{
Timestamps::iterator t = notify_timestamp.begin();
- while ( (t != notify_timestamp.end()) && ( core::application()->timestamp() > (*t) + NOTIFY_TIMEOUT )) {
+ while ((t != notify_timestamp.end()) && (core::application()->timestamp() > (*t) + NOTIFY_TIMEOUT)) {
notify_log.pop_front();
notify_timestamp.pop_front();
@@ -58,11 +58,11 @@ void Notifications::draw()
const float margin = ui::UI::elementmargin;
math::Vector2f s(size());
- s[0] -= margin*2;
- s[1] -= 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());
}