1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00

whitespace

This commit is contained in:
Michael
2023-07-20 22:05:09 +02:00
committed by GitHub
parent f313597968
commit 0f16cec3b9

View File

@@ -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);
}