mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 04:33:04 +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);
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
@ -156,7 +156,7 @@ namespace Nikse.SubtitleEdit.Logic.Ocr
|
||||
LinesForeground = 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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user