From f030154fe727e25a2afe1f78b3998c2d2dba95e4 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Tue, 18 Aug 2009 09:24:15 +0000 Subject: astyle cleanup, corrects not loading of material textures --- src/client/notifications.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/client/notifications.cc') 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()); } -- cgit v1.2.3