summaryrefslogtreecommitdiffstats
path: root/windows.c
diff options
context:
space:
mode:
Diffstat (limited to 'windows.c')
-rw-r--r--windows.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/windows.c b/windows.c
index 2eed74143..b711480f3 100644
--- a/windows.c
+++ b/windows.c
@@ -22,7 +22,7 @@ void subsurface_open_conf(void)
void subsurface_unset_conf(char *name)
{
- RegDeleteKey(hkey, (LPCTSTR)name);
+ RegDeleteValue(hkey, (LPCTSTR)name);
}
void subsurface_set_conf(char *name, const char *value)