diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-08-28 19:44:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-08-28 19:44:25 +0300 |
commit | 1d5e1e10214b2f992888045dc750c8d8b7937b21 (patch) | |
tree | 91fe3a560586a006fa48cea75532f961a7cf8f66 /src/gui | |
parent | 285db66255e63f3967ae806eb888d4742cff3d9f (diff) | |
download | plus-1d5e1e10214b2f992888045dc750c8d8b7937b21.tar.gz plus-1d5e1e10214b2f992888045dc750c8d8b7937b21.tar.bz2 plus-1d5e1e10214b2f992888045dc750c8d8b7937b21.tar.xz plus-1d5e1e10214b2f992888045dc750c8d8b7937b21.zip |
Fix code style.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/socialwindow.cpp | 7 | ||||
-rw-r--r-- | src/gui/widgets/guildchattab.cpp | 3 |
2 files changed, 8 insertions, 2 deletions
diff --git a/src/gui/socialwindow.cpp b/src/gui/socialwindow.cpp index 789d98b73..ca52ea283 100644 --- a/src/gui/socialwindow.cpp +++ b/src/gui/socialwindow.cpp @@ -1575,9 +1575,14 @@ void SocialWindow::selectPortal(unsigned num) int SocialWindow::getPortalIndex(int x, int y) { if (mNavigation) - return static_cast<SocialNavigationTab*>(mNavigation)->getPortalIndex(x, y); + { + return static_cast<SocialNavigationTab*>( + mNavigation)->getPortalIndex(x, y); + } else + { return -1; + } } void SocialWindow::addPortal(int x, int y) diff --git a/src/gui/widgets/guildchattab.cpp b/src/gui/widgets/guildchattab.cpp index 0d40506dd..0353ac23f 100644 --- a/src/gui/widgets/guildchattab.cpp +++ b/src/gui/widgets/guildchattab.cpp @@ -49,7 +49,8 @@ GuildChatTab::~GuildChatTab() { } -bool GuildChatTab::handleCommand(const std::string &type, const std::string &args) +bool GuildChatTab::handleCommand(const std::string &type, + const std::string &args) { if (type == "help") { |