#include "keymap.h"
#include "history.h"
+#include "lib/mem.h"
+
#include <string.h>
/* redraw flags for mutt_enter_string() */
}
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;