587 |
if (rc) |
if (rc) |
588 |
goto leave; |
goto leave; |
589 |
} |
} |
|
if (opt->kserv_conf) { |
|
|
rc = set_reg_entry (HKEY_CURRENT_USER, WINPT_REG, "KeyserverConfig", |
|
|
opt->kserv_conf); |
|
|
if (rc) |
|
|
goto leave; |
|
|
} |
|
590 |
|
|
591 |
for (i=0; reg_hotkeys[i].reg_entry; i++) { |
for (i=0; reg_hotkeys[i].reg_entry; i++) { |
592 |
strcpy (buf, " "); |
strcpy (buf, " "); |
697 |
if (val && val[0] != ' ') |
if (val && val[0] != ' ') |
698 |
opt->backup.path = m_strdup (val); |
opt->backup.path = m_strdup (val); |
699 |
free_if_alloc (val); |
free_if_alloc (val); |
|
|
|
|
val = get_reg_entry (HKEY_CURRENT_USER, WINPT_REG, "KeyserverConfig"); |
|
|
if (val && val[0] != ' ') |
|
|
opt->kserv_conf = m_strdup (val); |
|
|
free_if_alloc (val); |
|
700 |
|
|
701 |
for (i=0; reg_hotkeys[i].reg_entry; i++) { |
for (i=0; reg_hotkeys[i].reg_entry; i++) { |
702 |
val = get_reg_entry (HKEY_CURRENT_USER, WINPT_REG, reg_hotkeys[i].reg_entry); |
val = get_reg_entry (HKEY_CURRENT_USER, WINPT_REG, reg_hotkeys[i].reg_entry); |