minor fixes for resize_png

This commit is contained in:
Mikhail Tergoev 2024-07-30 14:00:56 +03:00
parent ef5939a58c
commit f027b9aedb

@ -4514,7 +4514,7 @@ relaxed - Same as fifo but allows tearing when below the monitors refresh rate."
# RESIZE PNG FILE
resize_png () {
if [[ -z "$1" ]] || [[ -z "$2" ]] || [[ -z "$2" ]] ; then
if [[ -z "$1" ]] || [[ -z "$2" ]] || [[ -z "$3" ]] ; then
print_error "no argument specified for resize_png"
return 1
else