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
1 changed files with 1 additions and 1 deletions

View File

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