Added additional guards and a configuration for the Win10 plugin, which disables the OCR by default.

This commit is contained in:
Robin Krom 2020-07-21 12:56:02 +02:00
parent 6a09345649
commit d602433c53
3 changed files with 19 additions and 8 deletions

View file

@ -32,7 +32,7 @@ namespace GreenshotPlugin.Core {
return 1;
}
if (Priority == other.Priority) {
return Description.CompareTo(other.Description);
return string.Compare(Description, other.Description, StringComparison.Ordinal);
}
return Priority - other.Priority;
}