changeset: 6324:84acf5f0ce92
user: Michael Elkins <[email protected]>
date: Sat Oct 19 11:23:20 2013 -0700
link: http://dev.mutt.org/hg/mutt/rev/84acf5f0ce92
remove <stdbool.h> and use "1" instead of "true". closes #3657
see #3642 for the change that caused this bug.
diffs (21 lines):
diff -r b9693e10f431 -r 84acf5f0ce92 crypt-gpgme.c
--- a/crypt-gpgme.c Fri Oct 18 14:12:08 2013 -0700
+++ b/crypt-gpgme.c Sat Oct 19 11:23:20 2013 -0700
@@ -43,7 +43,6 @@
#include <sys/stat.h>
#include <errno.h>
#include <ctype.h>
-#include <stdbool.h> /* for "true" */
#include <gpgme.h>
@@ -4367,7 +4366,8 @@
#ifdef ENABLE_NLS
gpgme_set_locale (NULL, LC_MESSAGES, setlocale (LC_MESSAGES, NULL));
#endif
- has_run = true;
+ has_run = 1; /* note use of 1 here is intentional to avoid requiring "true"
+ to be defined. see #3657 */
}
}