mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 03:02:35 +01:00
Minfor fix for last commit
This commit is contained in:
parent
6d7c1dd645
commit
92e9a58e28
@ -2180,7 +2180,7 @@ namespace Nikse.SubtitleEdit.Core.Common
|
||||
text = new Regex(@"([0456789]) (th)\b").Replace(text, "$1$2");
|
||||
}
|
||||
|
||||
if ("en-da-es-sv-de-nb-cz".Contains(language) && text.ContainsNumber())
|
||||
if (language != null && "en-da-es-sv-de-nb-cz".Contains(language) && text.ContainsNumber())
|
||||
{
|
||||
text = RegexNumberSpacePeriod.Replace(text, "$1$2");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user