shot - fix upload args checks - typo in coverity fix

This commit is contained in:
Carsten Haitzler 2020-04-19 12:20:35 +01:00
parent 91bc151878
commit 19b76797e1
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ elm_main(int argc, char **argv)
if (argc >= 7) out_file = eina_stringshare_add(argv[6]); // out file path
if ((w <= 0) || (w > 65535) || (h <= 0) || (h > 65535) ||
(stride <= 0) || (stride > (65535 * 4)) ||
(quality < 0) || (w > 100))
(quality < 0) || (quality > 100))
return 1;
// set up buffer window as scratch space