diff options
Diffstat (limited to 'Src/Zle/zle_thingy.c')
-rw-r--r-- | Src/Zle/zle_thingy.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Src/Zle/zle_thingy.c b/Src/Zle/zle_thingy.c index 4f1bb03f2..72a0f120d 100644 --- a/Src/Zle/zle_thingy.c +++ b/Src/Zle/zle_thingy.c @@ -551,13 +551,13 @@ bin_zle_complete(char *name, char **args, char *ops, char func) Widget w, cw; #ifdef DYNAMIC - if (!require_module(name, "compctl", 0, 0)) { - zerrnam(name, "can't load compctl module", NULL, 0); + if (!require_module(name, "complete", 0, 0)) { + zerrnam(name, "can't load complete module", NULL, 0); return 1; } #else - if (!makecompparamsptr) { - zerrnam(name, "compctl module not available", NULL, 0); + if (!module_linked("complete")) { + zerrnam(name, "complete module not available", NULL, 0); return 1; } #endif |