diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2005-10-13 16:30:13 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2005-10-13 16:30:13 +0000 |
commit | 3c37057c34d975ada2e9e6590845732677e77104 (patch) | |
tree | 35d876225f35ea3d3c90c68df50e41fba8dbbe44 /Src/Zle | |
parent | cc81bba1e34b4a7a357b6a7e6ec1d4eede4ffa61 (diff) | |
download | zsh-3c37057c34d975ada2e9e6590845732677e77104.tar.gz zsh-3c37057c34d975ada2e9e6590845732677e77104.tar.xz zsh-3c37057c34d975ada2e9e6590845732677e77104.zip |
21871: replace INULL() by inull()
Diffstat (limited to 'Src/Zle')
-rw-r--r-- | Src/Zle/compcore.c | 2 | ||||
-rw-r--r-- | Src/Zle/compctl.c | 2 | ||||
-rw-r--r-- | Src/Zle/zle_tricky.c | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/Src/Zle/compcore.c b/Src/Zle/compcore.c index 4b6c7a3af..e911cee5f 100644 --- a/Src/Zle/compcore.c +++ b/Src/Zle/compcore.c @@ -1461,7 +1461,7 @@ set_comp_sep(void) autoq = NULL; } for (p = ns, i = swb; *p; p++, i++) { - if (INULL(*p)) { + if (inull(*p)) { if (i < scs) { if (*p == Bnull) { if (p[1] && remq) diff --git a/Src/Zle/compctl.c b/Src/Zle/compctl.c index 2789068e7..1c1176715 100644 --- a/Src/Zle/compctl.c +++ b/Src/Zle/compctl.c @@ -2862,7 +2862,7 @@ sep_comp_string(char *ss, char *s, int noffs) autoq = ""; } for (p = ns, i = swb; *p; p++, i++) { - if (INULL(*p)) { + if (inull(*p)) { if (i < scs) { soffs--; if (remq && *p == Bnull && p[1]) diff --git a/Src/Zle/zle_tricky.c b/Src/Zle/zle_tricky.c index 1b9986fb2..0b70c935a 100644 --- a/Src/Zle/zle_tricky.c +++ b/Src/Zle/zle_tricky.c @@ -775,7 +775,7 @@ docomplete(int lst) char *w = dupstring(origword), *x, *q, *ox; for (q = w; *q; q++) - if (INULL(*q)) + if (inull(*q)) *q = Nularg; zlemetacs = wb; foredel(we - wb); @@ -1015,7 +1015,7 @@ static int has_real_token(const char *s) { while (*s) { - if (itok(*s) && !INULL(*s)) + if (itok(*s) && !inull(*s)) return 1; s++; } @@ -1487,7 +1487,7 @@ get_comp_string(void) } /* While building the quoted form, we also clean up the command line. */ for (p = s, i = wb, j = 0; *p; p++, i++) - if (INULL(*p)) { + if (inull(*p)) { if (i < zlemetacs) offs--; if (*p == Snull && isset(RCQUOTES)) |