Commit 4ca90fa9 authored by Ivan Molodetskikh's avatar Ivan Molodetskikh

Fix find_light_source_in_children()

parent bb4a9d4d
......@@ -425,7 +425,7 @@ find_light_source_in_children (RsvgNode *node)
iter = rsvg_node_children_iter_begin (node);
while (rsvg_node_children_iter_next_back (iter, &child)) {
if (rsvg_node_get_type (node) == RSVG_NODE_TYPE_LIGHT_SOURCE) {
if (rsvg_node_get_type (child) == RSVG_NODE_TYPE_LIGHT_SOURCE) {
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment