[svn] GpgEX - r20 - trunk/src

svn author wk cvs at cvs.gnupg.org
Fri Sep 21 16:08:38 CEST 2007


Author: wk
Date: 2007-09-21 16:08:29 +0200 (Fri, 21 Sep 2007)
New Revision: 20

Modified:
   trunk/src/ChangeLog
   trunk/src/registry.c
Log:
Made registry based homedir work.


Modified: trunk/src/ChangeLog
===================================================================
--- trunk/src/ChangeLog	2007-09-16 16:27:20 UTC (rev 19)
+++ trunk/src/ChangeLog	2007-09-21 14:08:29 UTC (rev 20)
@@ -1,3 +1,8 @@
+2007-09-21  Werner Koch  <wk at g10code.com>
+
+	* registry.c (default_homedir): Make registry works.  Reported by
+	Marc Mutz.
+
 2007-09-16  Marcus Brinkmann  <marcus at g10code.de>
 
 	* gpgex.cc (gpgex_t::QueryContextMenu): Implement popup menu

Modified: trunk/src/registry.c
===================================================================
--- trunk/src/registry.c	2007-09-16 16:27:20 UTC (rev 19)
+++ trunk/src/registry.c	2007-09-21 14:08:29 UTC (rev 20)
@@ -250,7 +250,7 @@
 
               tmp = read_w32_registry_string (NULL, "Software\\GNU\\GnuPG",
                                               "HomeDir");
-              if (tmp && *tmp)
+              if (tmp && !*tmp)
                 {
                   free (tmp);
                   tmp = NULL;




More information about the Gnupg-commits mailing list