replace SKIPWS with a proper inline func with the right API.
[apps/madmutt.git] / hook.c
diff --git a/hook.c b/hook.c
index fcb6a22..c6686ae 100644 (file)
--- a/hook.c
+++ b/hook.c
@@ -61,8 +61,7 @@ int mutt_parse_hook (BUFFER * buf, BUFFER * s, unsigned long data,
   p_clear(&command, 1);
 
   if (*s->dptr == '!') {
-    s->dptr++;
-    SKIPWS (s->dptr);
+    s->dptr = vskipspaces(s->dptr + 1);
     not = 1;
   }