mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 03:02:35 +01:00
Minor update for last commit
This commit is contained in:
parent
bec59649e2
commit
c54e87f62f
@ -113,7 +113,7 @@ namespace Nikse.SubtitleEdit.Logic.Ocr
|
|||||||
LinesBackground = ReadPoints(stream);
|
LinesBackground = ReadPoints(stream);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Width >= 0 && Height >= 0 && Width <= 1920 && Height <= 1080 && Text.IndexOf('\0') < 0)
|
if (Width > 0 && Height > 0 && Width <= 1920 && Height <= 1080 && Text.IndexOf('\0') < 0)
|
||||||
{
|
{
|
||||||
LoadedOk = true;
|
LoadedOk = true;
|
||||||
}
|
}
|
||||||
@ -156,7 +156,7 @@ namespace Nikse.SubtitleEdit.Logic.Ocr
|
|||||||
LinesForeground = ReadPoints(stream);
|
LinesForeground = ReadPoints(stream);
|
||||||
LinesBackground = ReadPoints(stream);
|
LinesBackground = ReadPoints(stream);
|
||||||
|
|
||||||
if (Width >= 0 && Height >= 0 && Width <= 1920 && Height <= 1080 && Text.IndexOf('\0') < 0)
|
if (Width > 0 && Height > 0 && Width <= 1920 && Height <= 1080 && Text.IndexOf('\0') < 0)
|
||||||
{
|
{
|
||||||
LoadedOk = true;
|
LoadedOk = true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user