Minor "Remove text for HI" fix (all uppercase don't remove "OK") - thx Maksim :)

This commit is contained in:
Nikolaj Olsson 2016-05-31 16:31:47 +02:00
parent 242d695d0f
commit 065bb35296

View File

@ -1280,7 +1280,7 @@ namespace Nikse.SubtitleEdit.Core.Forms
if (lineNoHtml == lineNoHtml.ToUpper() && lineNoHtml != lineNoHtml.ToLower())
{
var temp = lineNoHtml.TrimEnd(endTrimChars).Trim().Trim(trimChars);
if (temp.Length == 1 || temp == "YES" || temp == "NO" || temp == "WHY" || temp == "HI")
if (temp.Length == 1 || temp == "YES" || temp == "NO" || temp == "WHY" || temp == "HI" || temp == "OK")
{
sb.AppendLine(line);
}