[librsvg/librsvg-2.42] Fix find_light_source_in_children()
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg/librsvg-2.42] Fix find_light_source_in_children()
- Date: Fri, 8 Jun 2018 16:30:48 +0000 (UTC)
commit ed00b08d1c4a0e653a94b0f9e8499b7555ea5143
Author: Ivan Molodetskikh <yalterz gmail com>
Date: Fri Jun 8 11:29:45 2018 -0500
Fix find_light_source_in_children()
Part of (#241).
librsvg/rsvg-filter.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/librsvg/rsvg-filter.c b/librsvg/rsvg-filter.c
index 3b52362d..15803188 100644
--- a/librsvg/rsvg-filter.c
+++ b/librsvg/rsvg-filter.c
@@ -4911,7 +4911,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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]