From 6f47614ffebe771a786afee07013a674bea04a8c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 21 Oct 2013 02:12:15 +0300 Subject: fix code style. --- src/gui/windows/chatwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui') 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) -- cgit v1.2.3-70-g09d2