From 1a63e6ca7ac5c4fee629947f0a1d0fcd316633e8 Mon Sep 17 00:00:00 2001 From: Ivandro Jao Date: Thu, 3 Jun 2021 22:56:46 +0100 Subject: [PATCH] Remove duplicated checks --- src/libse/Forms/FixCommonErrors/FixCommas.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libse/Forms/FixCommonErrors/FixCommas.cs b/src/libse/Forms/FixCommonErrors/FixCommas.cs index 9e7823e4e..e64e949a4 100644 --- a/src/libse/Forms/FixCommonErrors/FixCommas.cs +++ b/src/libse/Forms/FixCommonErrors/FixCommas.cs @@ -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 == '؟'; } }