summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/beamer/beamerbaseframe.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/beamer/beamerbaseframe.sty')
-rw-r--r--Master/texmf-dist/tex/latex/beamer/beamerbaseframe.sty6
1 files changed, 3 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/beamer/beamerbaseframe.sty b/Master/texmf-dist/tex/latex/beamer/beamerbaseframe.sty
index 1bbc1b9e5b8..00c8bab265a 100644
--- a/Master/texmf-dist/tex/latex/beamer/beamerbaseframe.sty
+++ b/Master/texmf-dist/tex/latex/beamer/beamerbaseframe.sty
@@ -411,7 +411,7 @@
\def\beamer@defaultospec{#2}%
\@ifnextchar[{\beamer@@@@frame<#1>}{\beamer@@@@frame<#1>[]}}
-\def\beamer@testzero{0}
+\def\beamer@testhidden{0}
\newdimen\framewidth
\def\beamer@frame<#1>{
@@ -442,10 +442,11 @@
\setkeys{beamerframe}{environment=frame}%
\setkeys{beamerframe}{#2}%
\beamer@frametemplate%
+ \gdef\beamer@whichframes{#1}%
\ifbeamer@isfragile%Fragile frames will be processed twice
\stepcounter{framenumber}%do not set \label here - it interferes with AtBegin*
\else%
- \ifx\beamer@whichframes\beamer@testzero\else
+ \ifx\beamer@whichframes\beamer@testhidden\else
\ifbeamer@noframenumbering\else%
\stepcounter{framenumber}%do not set \label here - it interferes with AtBegin*
\fi%
@@ -453,7 +454,6 @@
\fi%
{\let\@elt\beamer@savecounter\beamer@overlaycounterresets}
\gdef\beamer@framestartpage{}%
- \gdef\beamer@whichframes{#1}%
\ifx\beamer@framerestriction\@undefined\else% restriction stuff
\expandafter\beamer@checkifinlist\beamer@framerestriction\relax%
\fi%