mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-27 22:42:38 +01:00
Change break thresshold for comma/line-end
This commit is contained in:
parent
ecf2c5194b
commit
5c4176f1cf
@ -622,7 +622,7 @@ namespace Nikse.SubtitleEdit.Core
|
||||
{
|
||||
const string expectedChars1 = ".!?0123456789";
|
||||
const string expectedChars2 = ".!?";
|
||||
for (int j = 0; j < s.Length / 5; j++)
|
||||
for (int j = 0; j < s.Length / 4; j++)
|
||||
{
|
||||
if (mid + j + 1 < s.Length && mid + j > 0)
|
||||
{
|
||||
@ -666,7 +666,7 @@ namespace Nikse.SubtitleEdit.Core
|
||||
{
|
||||
const string expectedChars1 = ".!?0123456789";
|
||||
const string expectedChars2 = ",";
|
||||
for (int j = 0; j < s.Length / 5; j++)
|
||||
for (int j = 0; j < s.Length / 4; j++)
|
||||
{
|
||||
if (mid + j + 1 < s.Length && mid + j > 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user