From 7c10a5559d3967c0ec19c274b16a18c74316a1f4 Mon Sep 17 00:00:00 2001 From: Ben Krajancic Date: Thu, 28 Dec 2017 13:08:34 +1100 Subject: [PATCH] Ghost replay selection fix (#3081) * Label unknown replay makers as "Unknown" * Language neutral result --- src/states_screens/ghost_replay_selection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/states_screens/ghost_replay_selection.cpp b/src/states_screens/ghost_replay_selection.cpp index c5e90191b7a..3205ce9182d 100644 --- a/src/states_screens/ghost_replay_selection.cpp +++ b/src/states_screens/ghost_replay_selection.cpp @@ -128,7 +128,7 @@ void GhostReplaySelection::loadList() row.push_back(GUIEngine::ListWidget::ListCell (StringUtils::toWString(rd.m_min_time) + L"s", -1, 1, true)); row.push_back(GUIEngine::ListWidget::ListCell - (rd.m_user_name, -1, 1, true)); + (rd.m_user_name.empty() ? " " : rd.m_user_name, -1, 1, true)); m_replay_list_widget->addItem(StringUtils::toString(i), row); } } // loadList