summaryrefslogtreecommitdiff
path: root/src/gui/spellpopup.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-02-18 02:06:44 +0300
committerAndrei Karas <akaras@inbox.ru>2012-02-18 02:06:44 +0300
commit2257406db0fd374e929def04525671c2826306c2 (patch)
tree0df3ef6435664fc962b772302e716adf01855825 /src/gui/spellpopup.cpp
parent4cd44430deb5a7efc030839a133fe8510327fc24 (diff)
downloadmanaverse-2257406db0fd374e929def04525671c2826306c2.tar.gz
manaverse-2257406db0fd374e929def04525671c2826306c2.tar.bz2
manaverse-2257406db0fd374e929def04525671c2826306c2.tar.xz
manaverse-2257406db0fd374e929def04525671c2826306c2.zip
Fix code style.
Diffstat (limited to 'src/gui/spellpopup.cpp')
-rw-r--r--src/gui/spellpopup.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/spellpopup.cpp b/src/gui/spellpopup.cpp
index 66d69b197..48037f03e 100644
--- a/src/gui/spellpopup.cpp
+++ b/src/gui/spellpopup.cpp
@@ -114,8 +114,6 @@ void SpellPopup::view(int x, int y)
{
if (y > getHeight() + distance)
posY = y - getHeight() - distance;
- else
- y = 0;
}
setPosition(posX, posY);