mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-22 00:48:53 +02:00
registrybackend: minor style cleanup
This commit is contained in:
@@ -1037,7 +1037,8 @@ g_registry_backend_write (GSettingsBackend *backend,
|
||||
|
||||
result = RegCreateKeyExA (HKEY_CURRENT_USER, self->base_path, 0, NULL, 0,
|
||||
KEY_WRITE, NULL, &hroot, NULL);
|
||||
if (result != ERROR_SUCCESS) {
|
||||
if (result != ERROR_SUCCESS)
|
||||
{
|
||||
trace ("Error opening/creating key %s.\n", self->base_path);
|
||||
return FALSE;
|
||||
}
|
||||
@@ -1064,7 +1065,8 @@ g_registry_backend_write_tree (GSettingsBackend *backend,
|
||||
|
||||
result = RegCreateKeyExA (HKEY_CURRENT_USER, self->base_path, 0, NULL, 0,
|
||||
KEY_WRITE, NULL, &hroot, NULL);
|
||||
if (result != ERROR_SUCCESS) {
|
||||
if (result != ERROR_SUCCESS)
|
||||
{
|
||||
trace ("Error opening/creating key %s.\n", self->base_path);
|
||||
return FALSE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user