diff options
author | Mark Whitley | 2001-03-08 19:31:12 +0000 |
---|---|---|
committer | Mark Whitley | 2001-03-08 19:31:12 +0000 |
commit | 7e5291f111733edce3f9cb475af7938c8657f30d (patch) | |
tree | f624bdb0920bee5409383782e1a6a750cc91d6d3 /cmdedit.c | |
parent | 32f8c170b097fc89f1cbf970846ec3da1a06b20d (diff) | |
download | busybox-7e5291f111733edce3f9cb475af7938c8657f30d.zip busybox-7e5291f111733edce3f9cb475af7938c8657f30d.tar.gz |
Whitespace / formatting / bracket cleanup.
Diffstat (limited to 'cmdedit.c')
-rw-r--r-- | cmdedit.c | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -1007,12 +1007,14 @@ static int find_match(char *matchBuf, int *len_with_quotes) /* skip first not quoted '\'' or '"' */ for (i = 0; int_buf[i] == '\'' || int_buf[i] == '"'; i++); /* collapse quote or unquote // or /~ */ - while ((int_buf[i] & ~QUOT) == '/' && ( - (int_buf[i + 1] & ~QUOT) == '/' - || (int_buf[i + 1] & ~QUOT) == - '~')) i++; - if (i) + while ((int_buf[i] & ~QUOT) == '/' && + ((int_buf[i + 1] & ~QUOT) == '/' + || (int_buf[i + 1] & ~QUOT) == '~')) { + i++; + } + if (i) { collapse_pos(0, i); + } /* set only match and destroy quotes */ j = 0; |