From 0f16cec3b9e83511a18316036787683417fe04a0 Mon Sep 17 00:00:00 2001 From: Michael <13953785+Laserlicht@users.noreply.github.com> Date: Thu, 20 Jul 2023 22:05:09 +0200 Subject: [PATCH] whitespace --- client/lobby/SelectionTab.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/lobby/SelectionTab.cpp b/client/lobby/SelectionTab.cpp index 875023bba..a0016634e 100644 --- a/client/lobby/SelectionTab.cpp +++ b/client/lobby/SelectionTab.cpp @@ -326,16 +326,16 @@ void SelectionTab::clickDouble(const Point & cursorPosition) void SelectionTab::showPopupWindow(const Point & cursorPosition) { - int position = getLine(); + int position = getLine(); int py = position + slider->getValue(); - + if(py >= curItems.size()) return; - + std::string text = boost::str(boost::format("{%1%}\r\n\r\n%2%:\r\n%3%") % curItems[py]->getName() % CGI->generaltexth->translate("vcmi.lobby.filename") % curItems[py]->fileURI); if(curItems[py]->date != "") text += boost::str(boost::format("\r\n\r\n%1%:\r\n%2%") % CGI->generaltexth->translate("vcmi.lobby.creationDate") % curItems[py]->date); - + CRClickPopup::createAndPush(text); }