Fixed quotematching
This commit is contained in:
parent
13b1a4fd12
commit
7003d2bebb
@ -423,10 +423,10 @@ inline bool issoftcr(char c) {
|
||||
|
||||
inline char *spanspaces(const char *str) {
|
||||
if(CFG->switches.get(dispsoftcr))
|
||||
while(strchr(" \t", *str))
|
||||
while(isspace(*str))
|
||||
str++;
|
||||
else
|
||||
while(strchr(" \t", *str) or (*str == SOFTCR))
|
||||
while(isspace(*str) or (*str == SOFTCR))
|
||||
str++;
|
||||
return (char *)str;
|
||||
}
|
||||
|
Reference in New Issue
Block a user