X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=curs_lib.c;h=b8b80addb8ebf11c59c618f24b93c9368587b0c7;hp=01751f14a8e5d987eb363a84ee5c672150d8af46;hb=05dc13941fb8fcaf3a95f0d34a3021e3aa73b3f2;hpb=01a3f4d932ddfc7f4a58f820d343f4a6f3b0f824 diff --git a/curs_lib.c b/curs_lib.c index 01751f1..b8b80ad 100644 --- a/curs_lib.c +++ b/curs_lib.c @@ -21,6 +21,10 @@ #include "pager.h" #include "mbyte.h" +#include "lib/mem.h" +#include "lib/intl.h" +#include "lib/str.h" + #include #include #include @@ -213,7 +217,7 @@ int mutt_yesorno (const char *msg, int def) answer_string = safe_malloc (COLS + 1); snprintf (answer_string, COLS + 1, " ([%s]/%s): ", def == M_YES ? yes : no, def == M_YES ? no : yes); - answer_string_len = strlen (answer_string); + answer_string_len = mutt_strlen (answer_string); printw ("%.*s%s", COLS - answer_string_len, msg, answer_string); FREE (&answer_string);