summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-21 02:12:15 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-21 02:12:15 +0300
commit6f47614ffebe771a786afee07013a674bea04a8c (patch)
tree47ed3517af8d09a6eaca0245f893afd03b3ba136 /src
parent8591ff0d0a1ba4cdf70c05b8c6719f2e1cb65348 (diff)
downloadplus-6f47614ffebe771a786afee07013a674bea04a8c.tar.gz
plus-6f47614ffebe771a786afee07013a674bea04a8c.tar.bz2
plus-6f47614ffebe771a786afee07013a674bea04a8c.tar.xz
plus-6f47614ffebe771a786afee07013a674bea04a8c.zip
fix code style.
Diffstat (limited to 'src')
-rw-r--r--src/gui/windows/chatwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/chatwindow.cpp b/src/gui/windows/chatwindow.cpp
index b806a33da..eade8b063 100644
--- a/src/gui/windows/chatwindow.cpp
+++ b/src/gui/windows/chatwindow.cpp
@@ -372,7 +372,6 @@ void ChatWindow::adjustTabSize()
const int frame2 = 2 * frame;
const int awFrame2 = aw - frame2;
const bool showEmotes = config.getBoolValue("showEmotesButton");
- const int chatButtonSize = 20;
int y = ah - inputHeight - frame;
mChatInput->setPosition(frame, y);
mChatTabs->setWidth(awFrame2);
@@ -384,6 +383,7 @@ void ChatWindow::adjustTabSize()
if (showEmotes)
{
+ const int chatButtonSize = 20;
int w = awFrame2 - chatButtonSize;
int x = aw - frame - chatButtonSize;
if (mSkin)