[svn] GpgOL - r225 - trunk/src
svn author wk
cvs at cvs.gnupg.org
Thu Feb 28 18:24:57 CET 2008
Author: wk
Date: 2008-02-28 18:24:56 +0100 (Thu, 28 Feb 2008)
New Revision: 225
Modified:
trunk/src/ChangeLog
trunk/src/myexchext.h
trunk/src/olflange-dlgs.cpp
Log:
Fix setting of S/MIME and OpenPGP defaults.
Modified: trunk/src/ChangeLog
===================================================================
--- trunk/src/ChangeLog 2008-02-26 12:17:34 UTC (rev 224)
+++ trunk/src/ChangeLog 2008-02-28 17:24:56 UTC (rev 225)
@@ -1,3 +1,9 @@
+2008-02-28 Werner Koch <wk at g10code.com>
+
+ * olflange-dlgs.cpp (GPGOptionsDlgProc): Fix initial setting of
+ openpgp and smime state. I wish C would haved used := for
+ assignments.
+
2008-02-26 Werner Koch <wk at g10code.com>
* common.c (qp_decode): Add arg S_LBRK.
Modified: trunk/src/myexchext.h
===================================================================
--- trunk/src/myexchext.h 2008-02-26 12:17:34 UTC (rev 224)
+++ trunk/src/myexchext.h 2008-02-28 17:24:56 UTC (rev 225)
@@ -69,6 +69,8 @@
/* Command IDs. */
+#define EECMDID_PrevMessage 87 /* (name guessed) */
+#define EECMDID_NextMessage 88 /* (name guessed) */
#define EECMDID_Format 110
#define EECMDID_FormatFont 111
#define EECMDID_FormatParagraph 112
Modified: trunk/src/olflange-dlgs.cpp
===================================================================
--- trunk/src/olflange-dlgs.cpp 2008-02-26 12:17:34 UTC (rev 224)
+++ trunk/src/olflange-dlgs.cpp 2008-02-28 17:24:56 UTC (rev 225)
@@ -109,8 +109,8 @@
/* ReleaseDC (hDlg, hdc); */
/* } */
- openpgp_state = opt.default_protocol = PROTOCOL_OPENPGP;
- smime_state = opt.default_protocol = PROTOCOL_SMIME;
+ openpgp_state = (opt.default_protocol == PROTOCOL_OPENPGP);
+ smime_state = (opt.default_protocol == PROTOCOL_SMIME);
// EnableWindow (GetDlgItem (hDlg, IDC_ENCRYPT_TO),
// !!opt.enable_default_key);
More information about the Gnupg-commits
mailing list