mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 12:44:46 +01:00
Use char replace instead of string's
This commit is contained in:
parent
4d4b594944
commit
0f43b93796
@ -43,10 +43,9 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
var ci = new CultureInfo(languageString.Replace("_", "-"));
|
||||
var ci = new CultureInfo(languageString.Replace('_', '-'));
|
||||
_threeLetterIsoLanguageName = ci.ThreeLetterISOLanguageName;
|
||||
}
|
||||
catch (CultureNotFoundException exception)
|
||||
|
Loading…
Reference in New Issue
Block a user