Fix bug when parsing the filename and when refreshing module after window swap
This commit is contained in:
1 parent
877087ee4e
commit
43e8a34894
2 files changed
+4
-5
No files matched your search
@@ -284,7 +284,7 @@ Bool InputStream::guessFormat( QString filename, UInt& rWidth, UInt& rHeight, In
|
||||
break;
|
||||
}
|
||||
}
|
||||
if( rWidth >= 0 && rHeight >= 0 && rInputFormat >= 0 )
|
||||
if( rWidth > 0 && rHeight > 0 && rInputFormat >= 0 )
|
||||
bRet = false;
|
||||
}
|
||||
return bRet;
|
||||
|
||||
Reference in new issue
Block a user