Rocco Rutte:
[apps/madmutt.git] / curs_lib.c
index 01751f1..4eab988 100644 (file)
@@ -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);