1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-01 05:16:05 +01:00

40043: fix computil.c indentation (cosmetic)

This commit is contained in:
Peter Stephenson 2016-11-30 16:19:21 +00:00
parent f90200c869
commit e8df1c7056
2 changed files with 9 additions and 4 deletions

View file

@ -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

View file

@ -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. */