From: pdmef Date: Sat, 27 Aug 2005 05:58:01 +0000 (+0000) Subject: Rocco Rutte: X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=commitdiff_plain;h=55a238fef5db8ed7cc0c58654ba15df9638b25b4;ds=sidebyside Rocco Rutte: - bug fix for bool to string conversion git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@447 e385b8ad-14ed-0310-8656-cc95a2468c6d --- diff --git a/VERSION.svn b/VERSION.svn index 0187835..e9b7520 100644 --- a/VERSION.svn +++ b/VERSION.svn @@ -1 +1 @@ -446 +447 diff --git a/init.c b/init.c index 523a10d..dad19c8 100644 --- a/init.c +++ b/init.c @@ -118,7 +118,7 @@ static struct { static void bool_to_string (char* dst, size_t dstlen, int idx) { snprintf (dst, dstlen, "%s=%s", MuttVars[idx].option, - MuttVars[idx].data ? "yes" : "no"); + option (MuttVars[idx].data) ? "yes" : "no"); } static void num_to_string (char* dst, size_t dstlen, int idx) {