diff options
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); |