InputRoll: fix comparing of cells with null column names
This commit is contained in:
parent
764f4ad81e
commit
26fb9b9694
|
@ -71,7 +71,7 @@ namespace BizHawk.Client.EmuHawk
|
||||||
{
|
{
|
||||||
int row = c1.RowIndex.Value.CompareTo(c2.RowIndex.Value);
|
int row = c1.RowIndex.Value.CompareTo(c2.RowIndex.Value);
|
||||||
return row == 0
|
return row == 0
|
||||||
? c1.Column.Name.CompareTo(c2.Column.Name)
|
? string.Compare(c1.Column?.Name, c2.Column?.Name)
|
||||||
: row;
|
: row;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue