summaryrefslogtreecommitdiffstats
path: root/hdrline.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>2000-07-24 07:47:32 +0000
committerThomas Roessler <roessler@does-not-exist.org>2000-07-24 07:47:32 +0000
commitfc3998e9c1df14f4ef4052680a178255c34795bf (patch)
tree1630c19597702318fe5895afbc1ee453e0b6a204 /hdrline.c
parent1917c86ff611465be93eacd1ab3899dfafae4b63 (diff)
Replace wctomb and mbtowc with wcrtomb and mbrtowc. From TAKIZAWA
Takashi <taki@luna.email.ne.jp>, with small changes from Edmund Grimley Evans.
Diffstat (limited to 'hdrline.c')
-rw-r--r--hdrline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hdrline.c b/hdrline.c
index 2a0bf2d0..8447655c 100644
--- a/hdrline.c
+++ b/hdrline.c
@@ -251,7 +251,7 @@ static void hdr_format_s (char *dest,
}
mutt_format_string (dest, destlen, min_width, max_width,
- right_justify, ' ', s, -1);
+ right_justify, ' ', s, mutt_strlen (s));
}
static const char *