Skip to content

Commit

Permalink
Richard Hartmann: 30140: whitespace fix in mplayer completion
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Stephenson committed Jan 29, 2012
1 parent 23907bb commit 76512cd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion ChangeLog
@@ -1,5 +1,8 @@
2012-01-29 Peter Stephenson <p.w.stephenson@ntlworld.com>

* Richard Hartmann: 30140: Completion/X/Command/_mplayer:
whitespace fix.

* Felipe Contreras: 30131, 30132, 30133, 30134, 30135,
30136, 30137: Completion/bashcompinit: various improvements to
bash-like behaviour.
Expand Down Expand Up @@ -15886,5 +15889,5 @@

*****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL
* $Revision: 1.5567 $
* $Revision: 1.5568 $
*****************************************************
6 changes: 3 additions & 3 deletions Completion/X/Command/_mplayer
Expand Up @@ -115,12 +115,12 @@ case "$state" in
_tags files urls
while _tags; do
_requested files expl 'video file' _files -g \
"*.(#i)(asf|asx|avi|flac|flv|m1v|m2p|m2v|m4v|mjpg|mka|mkv|mov|mp3|mp4|mpe|mpeg|mpg|ogg|ogm|qt|rm|vob|wav|webm|wma|wmv)(-.)" && ret=0
"*.(#i)(asf|asx|avi|flac|flv|m1v|m2p|m2v|m4v|mjpg|mka|mkv|mov|mp3|mp4|mpe|mpeg|mpg|ogg|ogm|qt|rm|vob|wav|webm|wma|wmv)(-.)" && ret=0
if _requested urls; then
while _next_label urls expl URL; do
_urls "$expl[@]" && ret=0
compadd -S '' "$expl[@]" {dvd,vcd,cdda,cddb,tv}:// && ret=0
done
compadd -S '' "$expl[@]" {dvd,vcd,cdda,cddb,tv}:// && ret=0
done
fi
(( ret )) || return 0
done
Expand Down

0 comments on commit 76512cd

Please sign in to comment.