From d6855d1b5043089fc606f7e62679babb68c7cbb4 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sat, 27 Sep 2008 14:03:25 +0000 Subject: style fixes, no code changes --- shell/ash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'shell') diff --git a/shell/ash.c b/shell/ash.c index d63acc2c8..0878237bf 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -5980,7 +5980,7 @@ subevalvar(char *p, char *str, int strloc, int subtype, /* We must adjust the length by the number of escapes we find. */ for (ptr = startp; ptr < (str - 1); ptr++) { - if(*ptr == CTLESC) { + if (*ptr == CTLESC) { len--; ptr++; } @@ -6056,7 +6056,7 @@ subevalvar(char *p, char *str, int strloc, int subtype, if (subtype == VSREPLACE || subtype == VSREPLACEALL) { char *idx, *end, *restart_detect; - if(!repl) { + if (!repl) { repl = parse_sub_pattern(str, varflags & VSQUOTE); if (!repl) repl = &null; -- cgit v1.2.3