Remove duplicated checks

This commit is contained in:
Ivandro Jao 2021-06-03 22:56:46 +01:00
parent 1cc25a43b1
commit 1a63e6ca7a

View File

@ -92,6 +92,6 @@ namespace Nikse.SubtitleEdit.Core.Forms.FixCommonErrors
return s;
}
private static bool IsSentenceEndingChar(char ch) => ch == '.' || ch == '!' || ch == '?' || ch == ')' || ch == ']' || ch == ']' || ch == '؟';
private static bool IsSentenceEndingChar(char ch) => ch == '.' || ch == '!' || ch == '?' || ch == ')' || ch == ']' || ch == '؟';
}
}