forked from AuroraMiddleware/gtk
Fix a misleading condition
gcc5 rightfully complains about this condition being unclear.
This commit is contained in:
parent
f8961facb2
commit
0d57d21192
@ -948,7 +948,7 @@ subparser_end (GMarkupParseContext *context,
|
||||
data->subparser->parser->end_element (context, element_name,
|
||||
data->subparser->data, error);
|
||||
|
||||
if (!strcmp (data->subparser->start, element_name) == 0)
|
||||
if (strcmp (data->subparser->start, element_name) != 0)
|
||||
return;
|
||||
|
||||
gtk_buildable_custom_tag_end (GTK_BUILDABLE (data->subparser->object),
|
||||
|
Loading…
Reference in New Issue
Block a user