Ghost replay selection fix (#3081)

* Label unknown replay makers as "Unknown"

* Language neutral result
This commit is contained in:
Ben Krajancic 2017-12-28 13:08:34 +11:00 committed by auriamg
parent 87d43063ed
commit 7c10a5559d

View File

@ -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