summaryrefslogtreecommitdiff
path: root/src/plugins/script/script-completion.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2017-07-04 21:58:48 +0200
committerSébastien Helleu <flashcode@flashtux.org>2017-07-04 22:01:14 +0200
commitff448b909687fb9214ecd6afa39f7b996b2ae2f4 (patch)
tree1c82cb70a418b0f5e5c623c7fd2ff05d5d4e7b8f /src/plugins/script/script-completion.c
parent275389864be6b83f1b0fd2d51e5899b759e0b966 (diff)
downloadweechat-ff448b909687fb9214ecd6afa39f7b996b2ae2f4.zip
api: add argument "recurse_subdirs" in function exec_on_files()
Diffstat (limited to 'src/plugins/script/script-completion.c')
-rw-r--r--src/plugins/script/script-completion.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/script/script-completion.c b/src/plugins/script/script-completion.c
index e889bb6a5..8d3279286 100644
--- a/src/plugins/script/script-completion.c
+++ b/src/plugins/script/script-completion.c
@@ -214,14 +214,14 @@ script_completion_scripts_files_cb (const void *pointer, void *data,
/* look for files in "~/.weechat/<language>/" */
snprintf (directory, length,
"%s/%s", weechat_home, script_language[i]);
- weechat_exec_on_files (directory, 0,
+ weechat_exec_on_files (directory, 0, 0,
&script_completion_exec_file_cb,
pointers);
/* look for files in "~/.weechat/<language>/autoload/" */
snprintf (directory, length,
"%s/%s/autoload", weechat_home, script_language[i]);
- weechat_exec_on_files (directory, 0,
+ weechat_exec_on_files (directory, 0, 0,
&script_completion_exec_file_cb,
pointers);
}