diff options
author | Eduardo Chappa <chappa@washington.edu> | 2013-05-31 17:16:44 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2013-05-31 17:16:44 -0600 |
commit | a46157ba61f2c65f88b42abb31db60c4a714f87b (patch) | |
tree | e37bc41ad2f57b3fd2bad310576cc155a58ca6b7 /pico/line.c | |
parent | 81e994d7907f850506ddc248f84761a54995e58c (diff) | |
download | alpine-a46157ba61f2c65f88b42abb31db60c4a714f87b.tar.xz |
* somehow all.patch got here. Reversing.
Diffstat (limited to 'pico/line.c')
-rw-r--r-- | pico/line.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pico/line.c b/pico/line.c index fe6847d3..e5df3670 100644 --- a/pico/line.c +++ b/pico/line.c @@ -608,12 +608,14 @@ int lisblank(LINE *line) { int n = 0; - char qstr[NLINE]; + UCS qstr[NLINE]; - n = quote_match(default_qstr(glo_quote_str, 1), line, qstr, NLINE, 1); + n = (glo_quote_str + && quote_match(glo_quote_str, line, qstr, NLINE)) + ? ucs4_strlen(qstr) : 0; for(; n < llength(line); n++) - if(!ISspace(lgetc(line, n).c)) + if(!ucs4_isspace(lgetc(line, n).c)) return(FALSE); return(TRUE); |