summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/animate
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/animate')
-rw-r--r--Master/texmf-dist/tex/latex/animate/animate.sty11
1 files changed, 7 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/animate/animate.sty b/Master/texmf-dist/tex/latex/animate/animate.sty
index 6f823f8eaab..01e997a25c4 100644
--- a/Master/texmf-dist/tex/latex/animate/animate.sty
+++ b/Master/texmf-dist/tex/latex/animate/animate.sty
@@ -13,7 +13,7 @@
\NeedsTeXFormat{LaTeX2e}
-\def\@anim@version{2016/01/19}
+\def\@anim@version{2016/01/25}
\ProvidesPackage{animate}
[\@anim@version\space PDF animations from files and inline graphics]
@@ -784,10 +784,13 @@
\ifnum#2=\@anim@poster%
\def\@anim@annotflag{/F 4}% not hidden + print (4)
\else%
- \ifnum\@anim@poster=\@anim@mone% use last frame as poster
- \ifthenelse{\equal{\@anim@getkeyval{a#1.poster}}{#2}}{%
+ \ifnum\@anim@poster=\@anim@mone\relax% use last frame as poster
+ \ifthenelse{%
+ \NOT\equal{\@anim@getkeyval{a#1.poster}}{}\AND%
+ #2=\@anim@getkeyval{a#1.poster}%
+ }{%
\def\@anim@annotflag{/F 4}%
- }{}%
+ }{}%
\fi%
\fi%
\fi%