From 57b11cae6b0f35c8271062af00f0a78d1fb12943 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Tue, 2 Jul 2013 14:10:48 +0000 Subject: [PATCH] ran tabspace git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@1903 99eadd0c-20b8-1223-b5c4-2a2b2df33de2 --- src/Changelog.txt | 6 +++--- src/Forms/MeasurementConverter.cs | 6 +++--- src/Forms/VobSubOcr.cs | 2 +- src/Logic/OCR/OcrFixEngine.cs | 4 ++-- src/Logic/SubtitleFormats/DCSubtitle.cs | 4 ++-- src/Logic/SubtitleFormats/DvdSubtitleSystem.cs | 2 +- src/Logic/SubtitleFormats/MicroDvd.cs | 2 +- src/Logic/SubtitleFormats/Pac.cs | 4 ++-- src/Logic/SubtitleFormats/TurboTitler.cs | 2 +- src/Logic/SubtitleFormats/UnknownSubtitle59.cs | 4 ++-- 10 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/Changelog.txt b/src/Changelog.txt index fec29dd6b..67cadb987 100644 --- a/src/Changelog.txt +++ b/src/Changelog.txt @@ -13,15 +13,15 @@ * Export to Blu-ray settings now saved - thx Minh * Do not load plugins + subtitle formats when opening a sub - thx Orr * FIXED: - * Fixed crash/bugs in MicroDvd format - thx klm + * Fixed crash/bugs in MicroDvd format - thx klm * Fixed annoying crash when loading a subtitle from 'source view' - * OCR - Change ocr fix language when changing spell check dictionary + * OCR - Change ocr fix language when changing spell check dictionary * Fixed Hebrew in PAC files - thx Yaniv * Fixed minor language detection bug regarding Korean - thx Hoyt * Fixed baseline horizontal alignment in Export to Blu-ray sup - thx THXTEX * Fixed multi line color tags when outputting DCinema - thx lillian * Fixed 'line-breaks' in csv formats - + 3.3.6 (15th June 2013) * NEW: diff --git a/src/Forms/MeasurementConverter.cs b/src/Forms/MeasurementConverter.cs index 7954f6179..da3b52afd 100644 --- a/src/Forms/MeasurementConverter.cs +++ b/src/Forms/MeasurementConverter.cs @@ -283,7 +283,7 @@ namespace Nikse.SubtitleEdit.Forms else if (textTo == l.Inches) { ShowResult(Convert.ToDouble(d) * 12); - } + } } else if (text == l.Inches) { @@ -306,7 +306,7 @@ namespace Nikse.SubtitleEdit.Forms else if (textTo == l.Feet) { ShowResult(Convert.ToDouble(d) * 0.0833333333); - } + } } else if (text == l.Pounds) @@ -322,7 +322,7 @@ namespace Nikse.SubtitleEdit.Forms private void textBoxInput_KeyUp(object sender, KeyEventArgs e) { textBoxInput_TextChanged(null, null); - } + } } } diff --git a/src/Forms/VobSubOcr.cs b/src/Forms/VobSubOcr.cs index c75206382..1de4615a7 100644 --- a/src/Forms/VobSubOcr.cs +++ b/src/Forms/VobSubOcr.cs @@ -5379,7 +5379,7 @@ namespace Nikse.SubtitleEdit.Forms threeLetterISOLanguageName = ci.ThreeLetterISOLanguageName; } catch - { + { } LoadOcrFixEngine(threeLetterISOLanguageName); } diff --git a/src/Logic/OCR/OcrFixEngine.cs b/src/Logic/OCR/OcrFixEngine.cs index 55e4dd35f..8b1b4646c 100644 --- a/src/Logic/OCR/OcrFixEngine.cs +++ b/src/Logic/OCR/OcrFixEngine.cs @@ -278,7 +278,7 @@ namespace Nikse.SubtitleEdit.Logic.OCR LoadSpellingDictionariesViaDictionaryFileName(ci.ThreeLetterISOLanguageName, ci, _spellCheckDictionaryName, false); } } - + internal static Dictionary LoadReplaceList(XmlDocument doc, string name) { var list = new Dictionary(); @@ -1232,7 +1232,7 @@ namespace Nikse.SubtitleEdit.Logic.OCR foreach (string findWhat in _regExList.Keys) { newText = Regex.Replace(newText, findWhat, _regExList[findWhat], RegexOptions.Multiline); - } + } return newText; } diff --git a/src/Logic/SubtitleFormats/DCSubtitle.cs b/src/Logic/SubtitleFormats/DCSubtitle.cs index 9eee8bff7..f5480a288 100644 --- a/src/Logic/SubtitleFormats/DCSubtitle.cs +++ b/src/Logic/SubtitleFormats/DCSubtitle.cs @@ -342,7 +342,7 @@ namespace Nikse.SubtitleEdit.Logic.SubtitleFormats fontNode.InnerText = Utilities.RemoveHtmlTags(txt.ToString()); html.Append(fontNode.OuterXml); - } + } else if (html.Length > 0 && html.ToString().StartsWith("= 0x20 && b < 0x70 && b!= 44) return Encoding.ASCII.GetString(buffer, index, 1); diff --git a/src/Logic/SubtitleFormats/TurboTitler.cs b/src/Logic/SubtitleFormats/TurboTitler.cs index 9da430f7e..0c271df64 100644 --- a/src/Logic/SubtitleFormats/TurboTitler.cs +++ b/src/Logic/SubtitleFormats/TurboTitler.cs @@ -51,7 +51,7 @@ namespace Nikse.SubtitleEdit.Logic.SubtitleFormats public override void LoadSubtitle(Subtitle subtitle, List lines, string fileName) { - //0:01:37.89,0:01:40.52,NTP You...|Line2! + //0:01:37.89,0:01:40.52,NTP You...|Line2! _errorCount = 0; subtitle.Paragraphs.Clear(); diff --git a/src/Logic/SubtitleFormats/UnknownSubtitle59.cs b/src/Logic/SubtitleFormats/UnknownSubtitle59.cs index 1608cf116..a75dc68b2 100644 --- a/src/Logic/SubtitleFormats/UnknownSubtitle59.cs +++ b/src/Logic/SubtitleFormats/UnknownSubtitle59.cs @@ -36,9 +36,9 @@ namespace Nikse.SubtitleEdit.Logic.SubtitleFormats public override string ToText(Subtitle subtitle, string title) { - //00:06:12 Would you like to see any particular style? 00:06:13 + //00:06:12 Would you like to see any particular style? 00:06:13 // - //00:35:46 I made coffee. Would you like some? 00:35:47 + //00:35:46 I made coffee. Would you like some? 00:35:47 //Yes. //