Skip to content

Commit

Permalink
Ghost replay selection fix (#3081)
Browse files Browse the repository at this point in the history
* Label unknown replay makers as "Unknown"

* Language neutral result
  • Loading branch information
Ben Krajancic authored and auriamg committed Dec 28, 2017
1 parent 87d4306 commit 7c10a55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/states_screens/ghost_replay_selection.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 7c10a55

Please sign in to comment.