Permalink
Browse files

Fix segfault on legend rendering with nested layers (#4713)

  • Loading branch information...
tbonfort committed Jan 6, 2016
1 parent 100e6af commit d02e6fb3b168f6977391efcb83886f332d07d01f
Showing with 1 addition and 1 deletion.
  1. +1 −1 maplegend.c
View
@@ -651,7 +651,7 @@ imageObj *msDrawLegend(mapObj *map, int scale_independent, map_hittest *hittest)
}
cur->classindex = j;
cur->layerindex = i;
cur->layerindex = map->layerorder[i];
cur->pred = head;
head = cur;
}

3 comments on commit d02e6fb

@ruhri

This comment has been minimized.

Show comment
Hide comment
@ruhri

ruhri Jan 6, 2016

does this fix need further testing, than I did with my scenario?

ruhri replied Jan 6, 2016

does this fix need further testing, than I did with my scenario?

@tbonfort

This comment has been minimized.

Show comment
Hide comment
@tbonfort

tbonfort Jan 6, 2016

Member

I only checked your scenario 1. Can you try out 2.a and 2.b ?

Member

tbonfort replied Jan 6, 2016

I only checked your scenario 1. Can you try out 2.a and 2.b ?

@ruhri

This comment has been minimized.

Show comment
Hide comment
@ruhri

ruhri Jan 6, 2016

they do work too!

ruhri replied Jan 6, 2016

they do work too!

Please sign in to comment.