X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=curs_lib.c;h=4eab988fc1319139e3259ad0229cef01ccafa6be;hp=b779a923afb376bb3ee240ef58f0ef4541e0e510;hb=203e950e3d3c76795fa49895d040f732adad2049;hpb=c3e57678c8be193fc137854020f3a90887be97c9 diff --git a/curs_lib.c b/curs_lib.c index b779a92..4eab988 100644 --- a/curs_lib.c +++ b/curs_lib.c @@ -3,6 +3,9 @@ * Copyright (C) 1996-2002 Michael R. Elkins * Copyright (C) 2004 g10 Code GmbH * + * Parts were written/modified by: + * Nico Golde + * * This file is part of mutt-ng, see http://www.muttng.org/. * It's licensed under the GNU General Public License, * please see the file GPL in the top level source directory. @@ -210,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);