diff options
Diffstat (limited to 'src/gui/windows/chatwindow.cpp')
-rw-r--r-- | src/gui/windows/chatwindow.cpp | 2 |
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) |