projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rocco Rutte:
[apps/madmutt.git]
/
enter.c
diff --git
a/enter.c
b/enter.c
index
e01fb30
..
793804b
100644
(file)
--- a/
enter.c
+++ b/
enter.c
@@
-18,6
+18,8
@@
#include "keymap.h"
#include "history.h"
#include "keymap.h"
#include "history.h"
+#include "lib/mem.h"
+
#include <string.h>
/* redraw flags for mutt_enter_string() */
#include <string.h>
/* redraw flags for mutt_enter_string() */
@@
-487,7
+489,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);
}
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;
if (i && buf[i - 1] == '=' &&
mutt_var_value_complete (buf, buflen, i))
state->tabs = 0;