X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=menu.c;h=8f64595bdffb3f278d909c00afb9a2f9f2b0e620;hp=e88e8f41f5b3e3873d3232c7d4b2ecfdeb4e9e86;hb=74a2265af51ce89bca845adc1d68f273c9933c13;hpb=c3e57678c8be193fc137854020f3a90887be97c9 diff --git a/menu.c b/menu.c index e88e8f4..8f64595 100644 --- a/menu.c +++ b/menu.c @@ -21,6 +21,10 @@ #include "imap.h" #endif +#include "lib/mem.h" +#include "lib/intl.h" +#include "lib/str.h" + #include #include @@ -151,7 +155,7 @@ void menu_pad_string (char *s, size_t n) cols = COLS - shift - SidebarWidth; else cols = COLS - shift; - mutt_format_string (tmpbuf, n, cols, cols, 0, ' ', s, strlen (s), 1); + mutt_format_string (tmpbuf, n, cols, cols, 0, ' ', s, mutt_strlen (s), 1); tmpbuf[n - 1] = 0; snprintf (s, n, "%s", tmpbuf); /* overkill */ FREE (&tmpbuf);