mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 11:12:36 +01:00
[SsaStyle] - Lower string using Invariant.
This commit is contained in:
parent
7a9388d1dd
commit
cd821c6491
@ -82,7 +82,7 @@ namespace Nikse.SubtitleEdit.Core
|
|||||||
{
|
{
|
||||||
var sb = new StringBuilder();
|
var sb = new StringBuilder();
|
||||||
sb.Append("Style: ");
|
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++)
|
for (int i = 0; i < format.Length; i++)
|
||||||
{
|
{
|
||||||
string f = format[i].Trim().ToLower();
|
string f = format[i].Trim().ToLower();
|
||||||
@ -144,7 +144,7 @@ namespace Nikse.SubtitleEdit.Core
|
|||||||
{
|
{
|
||||||
var sb = new StringBuilder();
|
var sb = new StringBuilder();
|
||||||
sb.Append("Style: ");
|
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++)
|
for (int i = 0; i < format.Length; i++)
|
||||||
{
|
{
|
||||||
string f = format[i].Trim().ToLower();
|
string f = format[i].Trim().ToLower();
|
||||||
|
Loading…
Reference in New Issue
Block a user