summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-03-17 15:21:55 +0300
committerAndrei Karas <akaras@inbox.ru>2012-03-17 15:21:55 +0300
commitf5cff2578b7dc6a8bef389d6bac8df9596cf03bd (patch)
treeca55026e69d5e6bd9537875e17d7c1fdb3f5398a
parent3c56048396cb68289f9d8f45dbf710577557aec7 (diff)
downloadplus-f5cff2578b7dc6a8bef389d6bac8df9596cf03bd.tar.gz
plus-f5cff2578b7dc6a8bef389d6bac8df9596cf03bd.tar.bz2
plus-f5cff2578b7dc6a8bef389d6bac8df9596cf03bd.tar.xz
plus-f5cff2578b7dc6a8bef389d6bac8df9596cf03bd.zip
In update windows after client version switch color back to black.
-rw-r--r--src/gui/updaterwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/updaterwindow.cpp b/src/gui/updaterwindow.cpp
index 9bac5e311..cacb95972 100644
--- a/src/gui/updaterwindow.cpp
+++ b/src/gui/updaterwindow.cpp
@@ -354,8 +354,8 @@ void UpdaterWindow::loadPatch()
line = strtok(nullptr, "\n");
if (line)
{
- mBrowserBox->addRow("##9 Latest client version: ##6ManaPlus "
- + std::string(line), true);
+ mBrowserBox->addRow(strprintf("##9 Latest client version: "
+ "##6ManaPlus %s##0", line), true);
}
}
if (version > CHECK_VERSION)