]> git.tdb.fi Git - ext/subsurface.git/blobdiff - windows.c
Fix profile and average depth for freedives
[ext/subsurface.git] / windows.c
index 46b6951bd87bd8c7a9d6ad43020b994d557d263d..29ef6122e50044a160640d22da81df053ebe22d9 100644 (file)
--- a/windows.c
+++ b/windows.c
@@ -73,10 +73,13 @@ const void *subsurface_get_conf(char *name, pref_type_t type)
        return NULL;
 }
 
+void subsurface_flush_conf(void)
+{
+       /* this is a no-op */
+}
+
 void subsurface_close_conf(void)
 {
-       if (RegFlushKey(hkey) != ERROR_SUCCESS)
-               printf("RegFlushKey failed \n");
        RegCloseKey(hkey);
 }