InputRoll: fix comparing of cells with null column names

This commit is contained in:
SuuperW 2021-01-15 17:47:57 -06:00
parent 764f4ad81e
commit 26fb9b9694
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ namespace BizHawk.Client.EmuHawk
{
int row = c1.RowIndex.Value.CompareTo(c2.RowIndex.Value);
return row == 0
? c1.Column.Name.CompareTo(c2.Column.Name)
? string.Compare(c1.Column?.Name, c2.Column?.Name)
: row;
}