From 5448382696386cc164cfb7a3c8f8da1fb962b971 Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Tue, 16 Sep 2003 01:28:18 +0000 Subject: [PATCH] Elimianted silly comparison in SKIP_CHAR macro. --- src/xpdev/gen_defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xpdev/gen_defs.h b/src/xpdev/gen_defs.h index be2d948c67..b44cfa8d35 100644 --- a/src/xpdev/gen_defs.h +++ b/src/xpdev/gen_defs.h @@ -142,7 +142,7 @@ typedef struct { /* ASCIIZ char* parsing helper macros */ #define SKIP_WHITESPACE(p) while(*p && isspace(*p)) p++; #define FIND_WHITESPACE(p) while(*p && !isspace(*p)) p++; -#define SKIP_CHAR(p,c) while(*p && *p==c) p++; +#define SKIP_CHAR(p,c) while(*p==c) p++; #define FIND_CHAR(p,c) while(*p && *p!=c) p++; #define SKIP_CHARSET(p,s) while(*p && strchr(s,*p)!=NULL) p++; #define FIND_CHARSET(p,s) while(*p && strchr(s,*p)==NULL) p++; -- GitLab