summaryrefslogtreecommitdiff
path: root/lib/poptALL.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/poptALL.c')
-rw-r--r--lib/poptALL.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/poptALL.c b/lib/poptALL.c
index eef8d8b05..936e37aec 100644
--- a/lib/poptALL.c
+++ b/lib/poptALL.c
@@ -80,7 +80,7 @@ static int cliDefine(const char *arg, int predefine)
char *s, *t;
/* XXX Convert '-' in macro name to underscore, skip leading %. */
s = t = xstrdup(arg);
- while (*t && !risspace(*t)) {
+ while (*t && !risspace(*t) && (*t != '(')) {
if (*t == '-') *t = '_';
t++;
}