From f5cff2578b7dc6a8bef389d6bac8df9596cf03bd Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 17 Mar 2012 15:21:55 +0300 Subject: In update windows after client version switch color back to black. --- src/gui/updaterwindow.cpp | 4 ++-- 1 file 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) -- cgit v1.2.3-70-g09d2