@@ -1795,7 +1795,7 @@ Exec_stat MCCard::relayer(MCControl *optr, uint2 newlayer)
17951795 if (oldparent == this )
17961796 {
17971797 MCObjptr *newoptr = NULL ;
1798- MCObjptr * tptr = objptrs;
1798+ tptr = objptrs;
17991799 do
18001800 {
18011801 if (tptr->getref () == optr)
@@ -2812,7 +2812,7 @@ MCRectangle MCCard::computecrect()
28122812}
28132813
28142814void MCCard::updateselection (MCControl *cptr, const MCRectangle &oldrect,
2815- const MCRectangle &selrect , MCRectangle &drect)
2815+ const MCRectangle &p_selrect , MCRectangle &drect)
28162816{
28172817 // MW-2008-01-30: [[ Bug 5749 ]] Make sure we check to see if the object is
28182818 // selectable - this will recurse up the object tree as necessary.
@@ -2835,7 +2835,7 @@ void MCCard::updateselection(MCControl *cptr, const MCRectangle &oldrect,
28352835 t_group_oldrect = MCU_intersect_rect (oldrect, t_group_rect);
28362836
28372837 MCRectangle t_group_selrect;
2838- t_group_selrect = MCU_intersect_rect (selrect , t_group_rect);
2838+ t_group_selrect = MCU_intersect_rect (p_selrect , t_group_rect);
28392839
28402840 do
28412841 {
@@ -2854,7 +2854,7 @@ void MCCard::updateselection(MCControl *cptr, const MCRectangle &oldrect,
28542854 if (MCselectintersect)
28552855 {
28562856 was = cptr->maskrect (oldrect);
2857- is = cptr->maskrect (selrect );
2857+ is = cptr->maskrect (p_selrect );
28582858
28592859 // AL-2015-10-07:: [[ External Handles ]] If either dimension is 0,
28602860 // recheck the selection intersect
@@ -2867,13 +2867,13 @@ void MCCard::updateselection(MCControl *cptr, const MCRectangle &oldrect,
28672867 was = MCU_line_intersect_rect (oldrect, t_rect);
28682868
28692869 if (!is)
2870- is = MCU_line_intersect_rect (selrect , t_rect);
2870+ is = MCU_line_intersect_rect (p_selrect , t_rect);
28712871 }
28722872 }
28732873 else
28742874 {
28752875 was = MCU_rect_in_rect (cptr->getrect (), oldrect);
2876- is = MCU_rect_in_rect (cptr->getrect (), selrect );
2876+ is = MCU_rect_in_rect (cptr->getrect (), p_selrect );
28772877 }
28782878 if (is != was)
28792879 {
0 commit comments