X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=curs_lib.c;h=4eab988fc1319139e3259ad0229cef01ccafa6be;hb=841934011451205d8295ac955486f06c317fdf15;hp=01751f14a8e5d987eb363a84ee5c672150d8af46;hpb=01a3f4d932ddfc7f4a58f820d343f4a6f3b0f824;p=apps%2Fmadmutt.git diff --git a/curs_lib.c b/curs_lib.c index 01751f1..4eab988 100644 --- a/curs_lib.c +++ b/curs_lib.c @@ -213,7 +213,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);