mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 03:02:35 +01:00
[SsaStyle] - Remove redundant ToLower().
This commit is contained in:
parent
cd821c6491
commit
215a98c896
@ -85,7 +85,7 @@ namespace Nikse.SubtitleEdit.Core
|
||||
var format = styleFormat.ToLowerInvariant().Substring(8).Split(',');
|
||||
for (int i = 0; i < format.Length; i++)
|
||||
{
|
||||
string f = format[i].Trim().ToLower();
|
||||
string f = format[i].Trim();
|
||||
if (f == "name")
|
||||
sb.Append(Name);
|
||||
else if (f == "fontname")
|
||||
@ -147,7 +147,7 @@ namespace Nikse.SubtitleEdit.Core
|
||||
var format = styleFormat.ToLowerInvariant().Substring(8).Split(',');
|
||||
for (int i = 0; i < format.Length; i++)
|
||||
{
|
||||
string f = format[i].Trim().ToLower();
|
||||
string f = format[i].Trim();
|
||||
if (f == "name")
|
||||
sb.Append(Name);
|
||||
else if (f == "fontname")
|
||||
|
Loading…
Reference in New Issue
Block a user