diff options
author | Eduardo Chappa <chappa@washington.edu> | 2015-08-10 19:34:04 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2015-08-10 19:34:04 -0600 |
commit | 74df826babb53a1d1af2dddd9a99d9fc673c8168 (patch) | |
tree | 4a368a7adfb965611cebc21758423015f00246e7 /pico/line.c | |
parent | eaa657fe96dbc41d5acaa07425ff4584fae297bb (diff) | |
download | alpine-74df826babb53a1d1af2dddd9a99d9fc673c8168.tar.xz |
* add non-breaking space (UCS \240) to list of spaces in function
lisblank.
* Clean up some code in pith/smime.c.
Diffstat (limited to 'pico/line.c')
-rw-r--r-- | pico/line.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pico/line.c b/pico/line.c index 22aa5cc7..4bbecb3e 100644 --- a/pico/line.c +++ b/pico/line.c @@ -617,7 +617,9 @@ lisblank(LINE *line) ? ucs4_strlen(qstr) : 0; for(; n < llength(line); n++) - if(!ucs4_isspace(lgetc(line, n).c)) + if(!ucs4_isspace(lgetc(line, n).c) + || lgetc(line, n).c >= 0xff + || (unsigned char) lgetc(line,n).c != NBSPC) return(FALSE); return(TRUE); |