[SsaStyle] - Lower string using Invariant.

This commit is contained in:
Ivandro Ismael 2016-03-30 20:41:05 +01:00
parent 7a9388d1dd
commit cd821c6491

View File

@ -82,7 +82,7 @@ namespace Nikse.SubtitleEdit.Core
{
var sb = new StringBuilder();
sb.Append("Style: ");
var format = styleFormat.ToLower().Substring(8).Split(',');
var format = styleFormat.ToLowerInvariant().Substring(8).Split(',');
for (int i = 0; i < format.Length; i++)
{
string f = format[i].Trim().ToLower();
@ -144,7 +144,7 @@ namespace Nikse.SubtitleEdit.Core
{
var sb = new StringBuilder();
sb.Append("Style: ");
var format = styleFormat.ToLower().Substring(8).Split(',');
var format = styleFormat.ToLowerInvariant().Substring(8).Split(',');
for (int i = 0; i < format.Length; i++)
{
string f = format[i].Trim().ToLower();