mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-05 08:56:16 +01:00
Fix logic error for missing options in reader
This commit is contained in:
parent
caad55d726
commit
dc2b43b3e7
@ -417,7 +417,7 @@ gvdb_table_get_value (GvdbTable *file,
|
||||
{
|
||||
data = gvdb_table_dereference (file, &item->options, 8, &size);
|
||||
|
||||
if (data != NULL || size > 0)
|
||||
if (data != NULL && size > 0)
|
||||
{
|
||||
*options = g_variant_new_from_data (G_VARIANT_TYPE ("a{sv}"),
|
||||
data, size, file->trusted,
|
||||
|
Loading…
Reference in New Issue
Block a user