diff options
author | Andrei Karas <akaras@inbox.ru> | 2010-01-10 17:19:24 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2010-01-10 17:20:33 +0100 |
commit | f5a394a5051384a930d635da22ccafc6beb1cb84 (patch) | |
tree | d28fc14408a6bb91170e05880b4d2af6a17fcc14 /src/gui/guildwindow.cpp | |
parent | 5757066312cab082378dbc5d8df97dea3fe40af0 (diff) | |
download | mana-f5a394a5051384a930d635da22ccafc6beb1cb84.tar.gz mana-f5a394a5051384a930d635da22ccafc6beb1cb84.tar.bz2 mana-f5a394a5051384a930d635da22ccafc6beb1cb84.tar.xz mana-f5a394a5051384a930d635da22ccafc6beb1cb84.zip |
Change code style
Diffstat (limited to 'src/gui/guildwindow.cpp')
-rw-r--r-- | src/gui/guildwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/guildwindow.cpp b/src/gui/guildwindow.cpp index 1868de6a..00f59cb6 100644 --- a/src/gui/guildwindow.cpp +++ b/src/gui/guildwindow.cpp @@ -141,7 +141,7 @@ void GuildWindow::action(const gcn::ActionEvent &event) else if (eventId == "CREATE_GUILD_OK") { std::string name = guildDialog->getText(); - if(name.size() > 16) + if (name.size() > 16) { // TODO : State too many characters in input. return; @@ -205,7 +205,7 @@ void GuildWindow::updateTab() void GuildWindow::setTab(const std::string &guildName) { // Only enable invite button if user has rights - if(player_node->checkInviteRights(guildName)) + if (player_node->checkInviteRights(guildName)) { mGuildButton[1]->setEnabled(true); } |