raster pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=19b76797e17348c21214b1b6a1f76d9f701efe15

commit 19b76797e17348c21214b1b6a1f76d9f701efe15
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Sun Apr 19 12:20:35 2020 +0100

    shot - fix upload args checks - typo in coverity fix
---
 src/modules/shot/upload.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/shot/upload.c b/src/modules/shot/upload.c
index 3e400ceb7..84bf8e7fe 100644
--- a/src/modules/shot/upload.c
+++ b/src/modules/shot/upload.c
@@ -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

-- 


Reply via email to