diff --git a/tex/generic/pgf/basiclayer/pgfcorepathconstruct.code.tex b/tex/generic/pgf/basiclayer/pgfcorepathconstruct.code.tex index c5b9ee1e9..e7b8f98dd 100644 --- a/tex/generic/pgf/basiclayer/pgfcorepathconstruct.code.tex +++ b/tex/generic/pgf/basiclayer/pgfcorepathconstruct.code.tex @@ -130,9 +130,9 @@ \ifdim#1>\pgf@picmaxx\global\pgf@picmaxx#1\fi% \ifdim#2<\pgf@picminy\global\pgf@picminy#2\fi% \ifdim#2>\pgf@picmaxy\global\pgf@picmaxy#2\fi% - \ifpgf@size@hooked% - \let\pgf@size@hook@x#1\let\pgf@size@hook@y#2\pgf@path@size@hook% - \fi% + \fi% + \ifpgf@size@hooked% + \let\pgf@size@hook@x#1\let\pgf@size@hook@y#2\pgf@path@size@hook% \fi% \ifdim#1<\pgf@pathminx\global\pgf@pathminx#1\fi% \ifdim#1>\pgf@pathmaxx\global\pgf@pathmaxx#1\fi%