This commit is contained in:
Trevor Joynson (trevorj)
2017-12-21 23:26:57 -08:00
parent f3be0c4a54
commit 5d79400cab

View File

@@ -59,10 +59,9 @@ template-S() {
case $ratio in case $ratio in
compute) compute)
# 16:9 is the default here if it can't find one that matches nicely. ratio=$(find-supported-ratio $hdisp $vdisp 'UNKNOWN')
ratio=$(find-supported-ratio $hdisp $vdisp 'ERROR')
printf 'Computed ratio: %s' $ratio printf 'Computed ratio: %s' $ratio
[[ $ratio != 'ERROR' ]] || return 1 [[ $ratio != 'UNKNOWN' ]] || return 1
;; ;;
esac esac