fixed resolution output when refresh rate not available

This commit is contained in:
Andrew Titmuss 2016-03-28 17:19:06 +11:00
parent 9a7a21d18a
commit 64dc636e48

View file

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