瀏覽代碼

format fix

Michael 2 年之前
父節點
當前提交
4d507f3d8a
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      lib/mapping/CMapInfo.cpp

+ 3 - 3
lib/mapping/CMapInfo.cpp

@@ -63,11 +63,11 @@ void CMapInfo::saveInit(const ResourceID & file)
 	countPlayers();
 	std::time_t time = boost::filesystem::last_write_time(*CResourceHandler::get()->getResourceName(file));
 
-    std::tm tm = *std::localtime(&time);
+	std::tm tm = *std::localtime(&time);
 	std::stringstream s;
 	s.imbue(std::locale(""));
-    s << std::put_time(&tm, "%x %X");
-    date = s.str();
+	s << std::put_time(&tm, "%x %X");
+	date = s.str();
 
 	// We absolutely not need this data for lobby and server will read it from save
 	// FIXME: actually we don't want them in CMapHeader!