let the caller deal with M_FORMAT_ARROWCURSOR, not the callee.
[apps/madmutt.git] / alias.c
diff --git a/alias.c b/alias.c
index 201cb0e..24b8b36 100644 (file)
--- a/alias.c
+++ b/alias.c
@@ -517,7 +517,7 @@ static void alias_entry (char *s, ssize_t slen, MUTTMENU * m, int num)
 {
   m_strformat (s, slen, NONULL (AliasFmt), (format_t *)alias_format_str,
                      (unsigned long)((alias_t **)m->data)[num],
-                     M_FORMAT_ARROWCURSOR);
+                      option(OPTARROWCURSOR) ? M_FORMAT_ARROWCURSOR : 0);
 }
 
 static int alias_tag (MUTTMENU * menu, int n, int m)