051dfbf361
ok espie@ (maintainer)
22 lines
758 B
Plaintext
22 lines
758 B
Plaintext
$OpenBSD: patch-gphoto2_shell_c,v 1.5 2009/11/09 08:05:16 ajacoutot Exp $
|
|
--- gphoto2/shell.c.orig Wed Jul 29 18:35:38 2009
|
|
+++ gphoto2/shell.c Sun Nov 8 19:31:58 2009
|
|
@@ -407,7 +407,7 @@ shell_completion_function (const char *text, int start
|
|
|
|
if (!start) {
|
|
/* Complete command */
|
|
- matches = rl_completion_matches (text, shell_command_generator);
|
|
+ matches = completion_matches (text, shell_command_generator);
|
|
} else {
|
|
current = strdup (rl_copy_text (0, end));
|
|
|
|
@@ -419,7 +419,7 @@ shell_completion_function (const char *text, int start
|
|
free (current);
|
|
|
|
/* Complete remote path */
|
|
- matches = rl_completion_matches (text, shell_path_generator);
|
|
+ matches = completion_matches (text, shell_path_generator);
|
|
}
|
|
|
|
return (matches);
|