diff options
author | Peter Stephenson <pws@zsh.org> | 2016-11-30 16:19:21 +0000 |
---|---|---|
committer | Peter Stephenson <pws@zsh.org> | 2016-11-30 16:19:21 +0000 |
commit | e8df1c70560a504e325146d5c239689c7782ce2c (patch) | |
tree | bfc4841c7f65d4e3642a8957e71719b9b5e54e67 | |
parent | f90200c869dd5efa54dd410dc14cbd02f2f4ec05 (diff) | |
download | zsh-e8df1c70560a504e325146d5c239689c7782ce2c.tar.gz zsh-e8df1c70560a504e325146d5c239689c7782ce2c.tar.xz zsh-e8df1c70560a504e325146d5c239689c7782ce2c.zip |
40043: fix computil.c indentation (cosmetic)
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Src/Zle/computil.c | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog index 44fa6580b..0da1aafc1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2016-11-30 Peter Stephenson <p.stephenson@samsung.com> + + * 40043: Src/Zle/computil.c: fix indentation (recent gcc warns + about this). + 2016-11-30 Daniel Shahaf <d.s@daniel.shahaf.name> * 40036: Completion/Debian/Command/_bts: Complete removal diff --git a/Src/Zle/computil.c b/Src/Zle/computil.c index 0025dc37c..c78167329 100644 --- a/Src/Zle/computil.c +++ b/Src/Zle/computil.c @@ -1694,10 +1694,10 @@ ca_get_opt(Cadef d, char *line, int full, char **end) for (p = d->opts; p; p = p->next) if (p->active && ((!p->args || p->type == CAO_NEXT) ? !strcmp(p->name, line) : strpfx(p->name, line))) { - int l = strlen(p->name); - if ((p->type == CAO_OEQUAL || p->type == CAO_EQUAL) && - line[l] && line[l] != '=') - continue; + int l = strlen(p->name); + if ((p->type == CAO_OEQUAL || p->type == CAO_EQUAL) && + line[l] && line[l] != '=') + continue; if (end) { /* Return a pointer to the end of the option. */ |