Skip to content

Commit

Permalink
Add quotes to error message pgf-tikz#747
Browse files Browse the repository at this point in the history
So that leading and trailing spaces are easier to spot.
  • Loading branch information
hmenke committed Nov 3, 2019
1 parent fddaaad commit 08275e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tex/generic/pgf/modules/pgfmoduleshapes.code.tex
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@
% Ok, check whether #1 is known!
\pgfutil@ifundefined{pgf@sh@ns@#1}
{\pgfutil@ifundefined{pgf@sh@ns@not yet positionedPGFINTERNAL#1}{%
\pgferror{No shape named #1 is known}}{
\pgferror{No shape named `#1' is known}}{
% else, fail silently
}%
\pgfpointorigin}%
Expand Down Expand Up @@ -597,7 +597,7 @@
\def\pgfpointshapeborder#1#2{%
% Ok, check whether #1 is known!
\pgfutil@ifundefined{pgf@sh@ns@#1}
{\pgferror{No shape named #1 is known}%
{\pgferror{No shape named `#1' is known}%
\pgfpointorigin}%
{%
\pgf@process{%
Expand Down

0 comments on commit 08275e3

Please sign in to comment.