Fixed a bug in "Remove text for HI" (cleanup bug)

This commit is contained in:
niksedk 2014-03-23 21:42:37 +01:00
parent ef0f7974ea
commit ccd3fdd396

View File

@ -196,7 +196,9 @@ namespace Nikse.SubtitleEdit.Logic.Forms
int colonIndex = s2.IndexOf(":", StringComparison.Ordinal);
string start = s2.Substring(0, colonIndex);
bool doContinue = !Settings.RemoveTextBeforeColonOnlyUppercase && start != start.ToUpper();
bool doContinue = true;
if (Settings.RemoveTextBeforeColonOnlyUppercase && start != start.ToUpper())
doContinue = false;
if (doContinue)
{