diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-08 18:12:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-08 18:12:56 +0300 |
commit | 4e96ac9f7b42fd26b988b231e79c25b28a7fe6af (patch) | |
tree | 49e9e0e6aeef6a2573e1329b357600664f106780 /src/gui/windows/chatwindow.cpp | |
parent | 467a5c03ccb5ea2d1977bd84adcab69eefb4e051 (diff) | |
download | plus-4e96ac9f7b42fd26b988b231e79c25b28a7fe6af.tar.gz plus-4e96ac9f7b42fd26b988b231e79c25b28a7fe6af.tar.bz2 plus-4e96ac9f7b42fd26b988b231e79c25b28a7fe6af.tar.xz plus-4e96ac9f7b42fd26b988b231e79c25b28a7fe6af.zip |
Change sign on rainbow color.
Diffstat (limited to 'src/gui/windows/chatwindow.cpp')
-rw-r--r-- | src/gui/windows/chatwindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/windows/chatwindow.cpp b/src/gui/windows/chatwindow.cpp index e15f68f35..057feb8d7 100644 --- a/src/gui/windows/chatwindow.cpp +++ b/src/gui/windows/chatwindow.cpp @@ -92,7 +92,7 @@ ChatWindow::ChatWindow() : mItemLinkHandler(new ItemLinkHandler), mChatTabs(CREATEWIDGETR(TabbedArea, this)), mChatInput(new ChatInput(this)), - mRainbowColor(0), + mRainbowColor(0U), mWhispers(), mChannels(), mHistory(), @@ -1307,8 +1307,8 @@ void ChatWindow::postConnection() else if (ch > 0xc0 || ch < 0x80) \ { \ newMsg += "##" + toString(fun) + msg.at(f); \ - if (mRainbowColor > 9) \ - mRainbowColor = 0; \ + if (mRainbowColor > 9U) \ + mRainbowColor = 0U; \ } \ else \ { \ |