From 7003d2bebbfe56f4e887eb202b8d628666c01d42 Mon Sep 17 00:00:00 2001 From: "Alexander S. Aganichev" Date: Tue, 22 May 2001 03:36:46 +0000 Subject: [PATCH] Fixed quotematching --- golded3/geprot.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/golded3/geprot.h b/golded3/geprot.h index 9a9e2bd..191c295 100644 --- a/golded3/geprot.h +++ b/golded3/geprot.h @@ -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; }