Rocco Rutte:
[apps/madmutt.git] / enter.c
diff --git a/enter.c b/enter.c
index e01fb30..10f0725 100644 (file)
--- a/enter.c
+++ b/enter.c
@@ -487,7 +487,7 @@ int _mutt_enter_string (char *buf, size_t buflen, int y, int x,
         }
         else if (flags & M_COMMAND) {
           my_wcstombs (buf, buflen, state->wbuf, state->curpos);
-          i = strlen (buf);
+          i = mutt_strlen (buf);
           if (i && buf[i - 1] == '=' &&
               mutt_var_value_complete (buf, buflen, i))
             state->tabs = 0;