Fix CompareTo comparison type

This commit is contained in:
_aLfa_ 2014-09-20 11:42:15 +02:00
parent beeb66efd4
commit c69413094b

View File

@ -51,7 +51,7 @@ namespace Nikse.SubtitleEdit.Logic
if (o.Text == null) if (o.Text == null)
return -1; return -1;
return this.Text.CompareTo(o.Text); return string.Compare(this.Text, o.Text, StringComparison.Ordinal);
} }
} }
} }