diff --git a/src/xpdev/gen_defs.h b/src/xpdev/gen_defs.h index be2d948c6794fb8f18c3540c07ec405ed73c9e76..b44cfa8d3569f1f26b459958d11399653df97645 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++;