Fix imgresize size expansion

This commit is contained in:
Lucas 2019-12-08 16:17:45 +00:00
parent 2934979ce4
commit 8d3ae231bb

View File

@ -40,8 +40,8 @@ if [ -z "$3" ]; then
fi fi
size=$1 size=$1
w=${size#x*} w=${size%x*}
h=${size%*x} h=${size#*x}
infile=$2 infile=$2
outfile=$3 outfile=$3