summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_links3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 03fafd9b1..2d026bb74 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-06-30  Doug Kearns  <djkea2@gus.gscit.monash.edu.au>
+
+	* unposted: Completion/Unix/Command/_links: declare parameter vals
+	local 
+
 2005-06-28  Doug Kearns  <djkea2@gus.gscit.monash.edu.au>
 
 	* 21392: Completion/Unix/Command/_w3m: update w3m completion for
diff --git a/Completion/Unix/Command/_links b/Completion/Unix/Command/_links
index 464068d46..34bb64560 100644
--- a/Completion/Unix/Command/_links
+++ b/Completion/Unix/Command/_links
@@ -32,7 +32,8 @@ case $state in
     _alternative 'files:file:_files -g "*.x#html(-.)"' 'urls:URL:_urls' && ret=0
   ;;
   graphics_drivers)
-    vals=(${=${${${(f)"$(_call_program links-graphics-drivers links -driver help 2>&1)"}[-1]}//','/''}} )
+    local -a vals
+    vals=( ${=${${${(f)"$(_call_program links-graphics-drivers links -driver help 2>&1)"}[-1]}//','/''}} )
     _describe -t links-graphics-drivers 'graphics driver' vals && ret=0
   ;;
   proxies)