mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-21 18:52:36 +01:00
Do not even reach normalization with 3 digits.
This commit is contained in:
parent
af54326102
commit
6dfee276a2
@ -31,7 +31,8 @@ namespace Nikse.SubtitleEdit.Core.Common
|
||||
{
|
||||
milliseconds *= 10;
|
||||
}
|
||||
} else {
|
||||
} else if (parts[3].Length > 3)
|
||||
{
|
||||
for (int msLength = parts[3].Length; msLength > 3; msLength --)
|
||||
{
|
||||
milliseconds /= 10;
|
||||
@ -52,7 +53,8 @@ namespace Nikse.SubtitleEdit.Core.Common
|
||||
{
|
||||
milliseconds *= 10;
|
||||
}
|
||||
} else {
|
||||
} else if (parts[3].Length > 3)
|
||||
{
|
||||
for (int msLength = parts[3].Length; msLength > 3; msLength --)
|
||||
{
|
||||
milliseconds /= 10;
|
||||
|
Loading…
Reference in New Issue
Block a user