xrandr: Don't leak $i when completing --mode.

This commit is contained in:
Ville Skyttä 2013-02-02 19:39:20 +02:00
parent f1100ef25a
commit d66fc76be6

View File

@ -14,6 +14,7 @@ _xrandr()
return
;;
--mode)
local i
for(( i = 1; i < cword; i++ )); do
if [[ "${words[i]}" == --output ]]; then
output=${words[i+1]}