Fix bug when parsing the filename and when refreshing module after window swap

This commit is contained in:
jfmcarreira committed 2014-05-18 19:39:30 +01:00
1 parent 877087ee4e
commit 43e8a34894
2 files changed
+4 -5

No files matched your search

+1 -1
View File
@@ -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;