diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-12-06 22:05:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-12-06 22:05:56 +0300 |
commit | 3a9398d853caf39778771d4916b0781a8597db42 (patch) | |
tree | c1f9982355a505963cf7e011a8e1f374dc88fbfa /src/gui/chatwindow.cpp | |
parent | ad02b24b25f565a274ff8ec8408acefc1c232e12 (diff) | |
download | plus-3a9398d853caf39778771d4916b0781a8597db42.tar.gz plus-3a9398d853caf39778771d4916b0781a8597db42.tar.bz2 plus-3a9398d853caf39778771d4916b0781a8597db42.tar.xz plus-3a9398d853caf39778771d4916b0781a8597db42.zip |
Fix compilation warnings.
Diffstat (limited to 'src/gui/chatwindow.cpp')
-rw-r--r-- | src/gui/chatwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/chatwindow.cpp b/src/gui/chatwindow.cpp index c0258eade..638d7f81c 100644 --- a/src/gui/chatwindow.cpp +++ b/src/gui/chatwindow.cpp @@ -1410,7 +1410,7 @@ void ChatWindow::resortChatLog(std::string line, Own own, return; } - const size_t idx2 = line.find(": "); + size_t idx2 = line.find(": "); if (idx2 != std::string::npos) { const size_t idx = line.find(": \302\202"); @@ -1428,7 +1428,7 @@ void ChatWindow::resortChatLog(std::string line, Own own, const size_t idx1 = line.find("@@"); if (idx1 != std::string::npos) { - const size_t idx2 = line.find("|", idx1); + idx2 = line.find("|", idx1); if (idx2 != std::string::npos) { const size_t idx3 = line.find("@@", idx2); |