From d87d942ef8bec1b7610d4fde6b379c8381d18ee4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Mon, 4 May 2026 22:01:03 +0200 Subject: [PATCH] Minor fixes to adhoc player listing (correct empty groupnames, comma-separate players) --- UI/AdhocServerScreen.cpp | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/UI/AdhocServerScreen.cpp b/UI/AdhocServerScreen.cpp index 6bbf492d05..ead85be756 100644 --- a/UI/AdhocServerScreen.cpp +++ b/UI/AdhocServerScreen.cpp @@ -328,7 +328,7 @@ void CreateAdhocServerGameList(UI::ViewGroup *content, const std::vectorAdd(new CollapsibleSection(title)); gameSection->Header()->SetUnderline(false); for (const AdhocGroup &group : game.groups) { - std::string groupName = group.name; + std::string groupName(StripSpaces(group.name)); if (groupName.empty()) { groupName = "???"; } @@ -357,9 +357,15 @@ void CreateAdhocServerGameList(UI::ViewGroup *content, const std::vectorAdd(new TextView(groupString))->SetTextSize(TextSize::Small)->SetWordWrap();