replace SKIPWS with a proper inline func with the right API.
[apps/madmutt.git] / edit.c
diff --git a/edit.c b/edit.c
index 893732e..d4bcc68 100644 (file)
--- a/edit.c
+++ b/edit.c
@@ -324,8 +324,7 @@ int mutt_builtin_editor (const char *path, HEADER * msg, HEADER * cur)
       while (p >= tmp && ISSPACE (*p))
         *p-- = 0;
 
-      p = tmp + 2;
-      SKIPWS (p);
+      p = vskipspaces(tmp + 2);
 
       switch (tmp[1]) {
       case '?':