X-Git-Url: https://git.llucax.com/software/mutt-debian.git/blobdiff_plain/14c29200cb58d3c4a0830265f2433849781858d0..04fefd3d4a76c49e327e26a553bb41bbc44160a9:/help.c diff --git a/help.c b/help.c index 88f465a..10ad9cf 100644 --- a/help.c +++ b/help.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 1996-2000 Michael R. Elkins + * Copyright (C) 1996-2000,2009 Michael R. Elkins * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -256,7 +256,7 @@ static void format_line (FILE *f, int ismacro, n = get_wrapped_width (t3, n); } - print_macro (f, n, &t3); + n = print_macro (f, n, &t3); if (*t3) { @@ -367,7 +367,7 @@ void mutt_help (int menu) if (menu != MENU_PAGER) dump_unbound (f, OpGeneric, Keymaps[MENU_GENERIC], Keymaps[menu]); - fclose (f); + safe_fclose (&f); snprintf (buf, sizeof (buf), _("Help for %s"), desc); }