From 36a6041460113ac0a20dd01b8dba77e09f1fd4c5 Mon Sep 17 00:00:00 2001 From: ivandroly Date: Sat, 4 Jul 2015 18:29:55 +0000 Subject: [PATCH] Minor refact --- src/Forms/FixCommonErrors.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Forms/FixCommonErrors.cs b/src/Forms/FixCommonErrors.cs index 916eeff9b..9a82d094b 100644 --- a/src/Forms/FixCommonErrors.cs +++ b/src/Forms/FixCommonErrors.cs @@ -4618,19 +4618,17 @@ namespace Nikse.SubtitleEdit.Forms if (s.Length < Configuration.Settings.General.SubtitleLineMaximumLength * 1.9) { labelTextLineTotal.ForeColor = Color.Black; - labelTextLineTotal.Text = string.Format(_languageGeneral.TotalLengthX, s.Length); } else if (s.Length < Configuration.Settings.General.SubtitleLineMaximumLength * 2.1) { labelTextLineTotal.ForeColor = Color.Orange; - labelTextLineTotal.Text = string.Format(_languageGeneral.TotalLengthX, s.Length); } else { labelTextLineTotal.ForeColor = Color.Red; - labelTextLineTotal.Text = string.Format(_languageGeneral.TotalLengthX, s.Length); buttonSplitLine.Visible = true; } + labelTextLineTotal.Text = string.Format(_languageGeneral.TotalLengthX, s.Length); } private void ButtonFixesSelectAllClick(object sender, EventArgs e)