summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)