mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
gwin32registrykey: Fix returning subkey_name in subkey_iter_get_name()
This commit is contained in:
parent
42961e819d
commit
b01521b4cd
@ -1013,13 +1013,15 @@ g_win32_registry_subkey_iter_get_name (GWin32RegistrySubkeyIter *iter,
|
||||
&subkey_name_len_glong,
|
||||
error);
|
||||
|
||||
if (iter->subkey_name_u8 != NULL)
|
||||
{
|
||||
*subkey_name_len = subkey_name_len_glong;
|
||||
return TRUE;
|
||||
}
|
||||
if (iter->subkey_name_u8 == NULL)
|
||||
return FALSE;
|
||||
|
||||
return FALSE;
|
||||
*subkey_name = iter->subkey_name_u8;
|
||||
|
||||
if (subkey_name_len)
|
||||
*subkey_name_len = subkey_name_len_glong;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user