projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
useless
[apps/madmutt.git]
/
lib-ui
/
enter.c
diff --git
a/lib-ui/enter.c
b/lib-ui/enter.c
index
39e0100
..
0d61f2d
100644
(file)
--- a/
lib-ui/enter.c
+++ b/
lib-ui/enter.c
@@
-8,13
+8,6
@@
* please see the file GPL in the top level source directory.
*/
* please see the file GPL in the top level source directory.
*/
-#if HAVE_CONFIG_H
-# include "config.h"
-#endif
-
-#include <wctype.h>
-#include <wchar.h>
-
#include <lib-lib/lib-lib.h>
#include "curses.h"
#include <lib-lib/lib-lib.h>
#include "curses.h"
@@
-122,7
+115,7
@@
static void my_wcstombs (char *dest, ssize_t dlen, const wchar_t * src,
}
}
}
}
-size_t my_mbstowcs (wchar_t ** pwbuf, size_t * pwbuflen, size_t i, const char *buf)
+s
tatic s
ize_t my_mbstowcs (wchar_t ** pwbuf, size_t * pwbuflen, size_t i, const char *buf)
{
wchar_t wc;
mbstate_t st;
{
wchar_t wc;
mbstate_t st;
@@
-184,7
+177,7
@@
int mutt_enter_string (char *buf, size_t buflen, int y, int x, int flags)
int rv;
ENTER_STATE *es = mutt_new_enter_state ();
int rv;
ENTER_STATE *es = mutt_new_enter_state ();
- rv = _mutt_enter_string
(buf, buflen, y, x, flags, 0, NULL, NULL, es);
+ rv = _mutt_enter_string(buf, buflen, y, x, flags, 0, NULL, NULL, es);
mutt_free_enter_state (&es);
return rv;
}
mutt_free_enter_state (&es);
return rv;
}