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/socialwindow.cpp | |
parent | 285db66255e63f3967ae806eb888d4742cff3d9f (diff) | |
download | mv-1d5e1e10214b2f992888045dc750c8d8b7937b21.tar.gz mv-1d5e1e10214b2f992888045dc750c8d8b7937b21.tar.bz2 mv-1d5e1e10214b2f992888045dc750c8d8b7937b21.tar.xz mv-1d5e1e10214b2f992888045dc750c8d8b7937b21.zip |
Fix code style.
Diffstat (limited to 'src/gui/socialwindow.cpp')
-rw-r--r-- | src/gui/socialwindow.cpp | 7 |
1 files changed, 6 insertions, 1 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) |