aboutsummaryrefslogtreecommitdiff
path: root/src/grab.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/grab.c')
-rw-r--r--src/grab.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/grab.c b/src/grab.c
index f47a375..f04f75f 100644
--- a/src/grab.c
+++ b/src/grab.c
@@ -223,7 +223,7 @@ comppat(char *s)
#define skip_ws(p) for (; *(p) && xisspace(*(p)); (p)++)
struct ops ops;
- da_init(&ops, 8);
+ dainit(&ops, 8);
skip_ws(s);
if (!*s)
diex(EEARLY);
@@ -242,7 +242,7 @@ comppat(char *s)
p = ++s;
s = xstrchrnul(s, delim);
op.pat = mkregex(p, s - p);
- da_append(&ops, op);
+ dapush(&ops, op);
if (*s)
s++;