mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 04:33:04 +01:00
parent
b501ebcb8c
commit
51f95d9489
@ -34,12 +34,27 @@ namespace Nikse.SubtitleEdit.Core.Common.TextLengthCalculator
|
||||
{
|
||||
length++;
|
||||
}
|
||||
else
|
||||
}
|
||||
else if (element != "\u200E" &&
|
||||
element != "\u200F" &&
|
||||
element != "\u202A" &&
|
||||
element != "\u202B" &&
|
||||
element != "\u202C" &&
|
||||
element != "\u202D" &&
|
||||
element != "\u202E" &&
|
||||
element != "\u064B" &&
|
||||
element != "\u064C" &&
|
||||
element != "\u064D" &&
|
||||
element != "\u064E" &&
|
||||
element != "\u064F" &&
|
||||
element != "\u0650" &&
|
||||
element != "\u0651" &&
|
||||
element != "\u0652" &&
|
||||
element != "\u0653")
|
||||
{
|
||||
length++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return length;
|
||||
}
|
||||
|
@ -35,12 +35,27 @@ namespace Nikse.SubtitleEdit.Core.Common.TextLengthCalculator
|
||||
{
|
||||
length++;
|
||||
}
|
||||
else
|
||||
}
|
||||
else if (element != "\u200E" &&
|
||||
element != "\u200F" &&
|
||||
element != "\u202A" &&
|
||||
element != "\u202B" &&
|
||||
element != "\u202C" &&
|
||||
element != "\u202D" &&
|
||||
element != "\u202E" &&
|
||||
element != "\u064B" &&
|
||||
element != "\u064C" &&
|
||||
element != "\u064D" &&
|
||||
element != "\u064E" &&
|
||||
element != "\u064F" &&
|
||||
element != "\u0650" &&
|
||||
element != "\u0651" &&
|
||||
element != "\u0652" &&
|
||||
element != "\u0653")
|
||||
{
|
||||
length++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return length;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user