diff options
Diffstat (limited to 'lib/libmytinfo/gettcap.c')
-rw-r--r-- | lib/libmytinfo/gettcap.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libmytinfo/gettcap.c b/lib/libmytinfo/gettcap.c index ac900c2..1424b88 100644 --- a/lib/libmytinfo/gettcap.c +++ b/lib/libmytinfo/gettcap.c @@ -82,7 +82,7 @@ struct term_path *path; { sp++; } else mul = 0; - + } while(*sp != '\0' && *sp != ':') { switch(*sp) { @@ -98,7 +98,7 @@ struct term_path *path; { case 'f': *dp++ = '\f'; break; case 's': *dp++ = ' '; break; - case '^': + case '^': case '\\': case ',': case ':': @@ -177,7 +177,7 @@ struct term_path *path; { } else if (*sp == '?') { *dp++ = '\177'; sp++; - } else + } else *dp++ = '^'; break; case '$': @@ -195,7 +195,7 @@ struct term_path *path; { else sprintf(dp, "$<%d.%d", pad, fract); dp += strlen(dp); - if (mul) + if (mul) *dp++ = '*'; *dp++ = '>'; } @@ -211,7 +211,7 @@ struct term_path *path; { break; if ((ct->strs[ind] = _addstr(entry)) == NULL) return 1; - break; + break; case '#': #ifdef DEBUG putchar('#'); |