Fixed quotematching

This commit is contained in:
Alexander S. Aganichev 2001-05-22 03:36:46 +00:00
parent 13b1a4fd12
commit 7003d2bebb

View File

@ -423,10 +423,10 @@ inline bool issoftcr(char c) {
inline char *spanspaces(const char *str) { inline char *spanspaces(const char *str) {
if(CFG->switches.get(dispsoftcr)) if(CFG->switches.get(dispsoftcr))
while(strchr(" \t", *str)) while(isspace(*str))
str++; str++;
else else
while(strchr(" \t", *str) or (*str == SOFTCR)) while(isspace(*str) or (*str == SOFTCR))
str++; str++;
return (char *)str; return (char *)str;
} }