projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
the “I found my first real bug” commit.
[apps/madmutt.git]
/
mbyte.c
diff --git
a/mbyte.c
b/mbyte.c
index
1ff911c
..
6993422
100644
(file)
--- a/
mbyte.c
+++ b/
mbyte.c
@@
-91,7
+91,7
@@
void mutt_set_charset (char *charset)
static size_t wcrtomb_iconv (char *s, wchar_t wc, iconv_t cd)
{
char buf[MB_LEN_MAX];
static size_t wcrtomb_iconv (char *s, wchar_t wc, iconv_t cd)
{
char buf[MB_LEN_MAX];
-
ICONV_CONST
char *ib;
+
const
char *ib;
char *ob;
size_t ibl, obl, r;
char *ob;
size_t ibl, obl, r;
@@
-138,7
+138,7
@@
size_t mbrtowc_iconv (wchar_t * pwc, const char *s, size_t n,
mbstate_t * ps, iconv_t cd)
{
static mbstate_t mbstate;
mbstate_t * ps, iconv_t cd)
{
static mbstate_t mbstate;
-
ICONV_CONST
char *ib, *ibmax;
+
const
char *ib, *ibmax;
char *ob, *t;
size_t ibl, obl, k, r;
char bufi[8], bufo[6];
char *ob, *t;
size_t ibl, obl, k, r;
char bufi[8], bufo[6];