Skip to content

Commit

Permalink
Support image extension with a dot separator
Browse files Browse the repository at this point in the history
  • Loading branch information
hansonchar committed Jun 27, 2024
1 parent ec021c2 commit a9363dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tex/generic/pgf/basiclayer/pgfcoreimage.code.tex
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@

\def\pgf@@tryextensions[#1!#2]#3{%
\pgfdebug{============== 1="#1", 2="#2", 3="#3"}%
\expandafter\pgfutil@ifundefined\expandafter{#3#1!#2}%
\expandafter\pgfutil@ifundefined\expandafter{#3.#1!#2}%
{%
\def\pgf@temp{#2}%
\ifx\pgf@temp\pgfutil@empty%
Expand All @@ -231,7 +231,7 @@
}%
{%
\pgfdebug{line 221/pgf@@tryextensions: 3:"#3", 1:"#1", 2:"#2"}%
\edef#3{#3#1!#2}%
\edef#3{#3.#1!#2}%
\pgfdebug{line 223/pgf@@tryextensions: finalize to "#3"}%
}}%

Expand Down

0 comments on commit a9363dd

Please sign in to comment.