Merge pull request #195 from iandrewt/refresh_fix

fixed resolution output when refresh rate not available
This commit is contained in:
Dylan Araps 2016-03-28 17:28:59 +11:00
commit 177cea84df

View file

@ -1251,7 +1251,7 @@ getresolution () {
fi fi
[[ "$refresh_rate" == "off" ]] && \ [[ "$refresh_rate" == "off" ]] && \
resolution=${resolution// @ +([0-9])Hz} resolution=${resolution// @ *([0-9])Hz}
;; ;;
"Windows") "Windows")