From f027b9aedbb83f69b6e4cf539543e44931a49963 Mon Sep 17 00:00:00 2001 From: Mikhail Tergoev Date: Tue, 30 Jul 2024 14:00:56 +0300 Subject: [PATCH] minor fixes for resize_png --- data_from_portwine/scripts/functions_helper | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data_from_portwine/scripts/functions_helper b/data_from_portwine/scripts/functions_helper index 0a77412e..ad0effe1 100755 --- a/data_from_portwine/scripts/functions_helper +++ b/data_from_portwine/scripts/functions_helper @@ -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