[svn] GnuPG - r4837 - trunk/g10
svn author dshaw
cvs at cvs.gnupg.org
Thu Sep 25 20:12:39 CEST 2008
Author: dshaw
Date: 2008-09-25 20:12:39 +0200 (Thu, 25 Sep 2008)
New Revision: 4837
Modified:
trunk/g10/ChangeLog
trunk/g10/keyedit.c
Log:
* keyedit.c (keyedit_menu): Fix bug where a modified keyring loses its
modified status after a "clean" or "minimize" that doesn't need to do
anything.
Modified: trunk/g10/ChangeLog
===================================================================
--- trunk/g10/ChangeLog 2008-09-25 12:55:50 UTC (rev 4836)
+++ trunk/g10/ChangeLog 2008-09-25 18:12:39 UTC (rev 4837)
@@ -1,3 +1,9 @@
+2008-09-25 David Shaw <dshaw at jabberwocky.com>
+
+ * keyedit.c (keyedit_menu): Fix bug where a modified keyring loses
+ its modified status after a "clean" or "minimize" that doesn't
+ need to do anything.
+
2008-09-25 Werner Koch <wk at g10code.com>
* parse-packet.c (parse): Remove special treatment for compressed
Modified: trunk/g10/keyedit.c
===================================================================
--- trunk/g10/keyedit.c 2008-09-25 12:55:50 UTC (rev 4836)
+++ trunk/g10/keyedit.c 2008-09-25 18:12:39 UTC (rev 4837)
@@ -2200,11 +2200,13 @@
break;
case cmdCLEAN:
- redisplay=modified=menu_clean(keyblock,0);
+ if(menu_clean(keyblock,0))
+ redisplay=modified=1;
break;
case cmdMINIMIZE:
- redisplay=modified=menu_clean(keyblock,1);
+ if(menu_clean(keyblock,1))
+ redisplay=modified=1;
break;
case cmdQUIT:
More information about the Gnupg-commits
mailing list