From 08275e3034d5f64fa43ff1e0af0991911f1fb21a Mon Sep 17 00:00:00 2001 From: Henri Menke Date: Mon, 4 Nov 2019 11:10:32 +1300 Subject: [PATCH] Add quotes to error message #747 So that leading and trailing spaces are easier to spot. --- tex/generic/pgf/modules/pgfmoduleshapes.code.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tex/generic/pgf/modules/pgfmoduleshapes.code.tex b/tex/generic/pgf/modules/pgfmoduleshapes.code.tex index 78edf01c6..a80804e78 100644 --- a/tex/generic/pgf/modules/pgfmoduleshapes.code.tex +++ b/tex/generic/pgf/modules/pgfmoduleshapes.code.tex @@ -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}% @@ -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{%