1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

w32: Add macro for the registry key.

* configure.ac (GNUPG_REGISTRY_DIR) [W32]: New ac-define.
* common/homedir.c (default_homedir): Use it.
* common/logging.c (do_logv): Use it.
This commit is contained in:
Werner Koch 2014-01-08 11:47:07 +01:00
parent 101a54add3
commit 75ba215ebd
3 changed files with 7 additions and 2 deletions

View file

@ -222,7 +222,7 @@ default_homedir (void)
char *tmp;
tmp = read_w32_registry_string (NULL,
"Software\\GNU\\" GNUPG_NAME,
GNUPG_REGISTRY_DIR,
"HomeDir");
if (tmp && !*tmp)
{