mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 11:12:36 +01:00
Fix CompareTo comparison type
This commit is contained in:
parent
beeb66efd4
commit
c69413094b
@ -51,7 +51,7 @@ namespace Nikse.SubtitleEdit.Logic
|
||||
if (o.Text == null)
|
||||
return -1;
|
||||
|
||||
return this.Text.CompareTo(o.Text);
|
||||
return string.Compare(this.Text, o.Text, StringComparison.Ordinal);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user