Michael hace 2 años
padre
commit
0f16cec3b9
Se han modificado 1 ficheros con 4 adiciones y 4 borrados
  1. 4 4
      client/lobby/SelectionTab.cpp

+ 4 - 4
client/lobby/SelectionTab.cpp

@@ -326,16 +326,16 @@ void SelectionTab::clickDouble(const Point & cursorPosition)
 
 
 void SelectionTab::showPopupWindow(const Point & cursorPosition)
 void SelectionTab::showPopupWindow(const Point & cursorPosition)
 {
 {
-    int position = getLine();
+	int position = getLine();
 	int py = position + slider->getValue();
 	int py = position + slider->getValue();
-	
+
 	if(py >= curItems.size())
 	if(py >= curItems.size())
 		return;
 		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);
 	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 != "")
 	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);
 	    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);
 	CRClickPopup::createAndPush(text);
 }
 }