summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/beamer/beamerbasecolor.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/beamer/beamerbasecolor.sty')
-rw-r--r--Master/texmf-dist/tex/latex/beamer/beamerbasecolor.sty4
1 files changed, 2 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/beamer/beamerbasecolor.sty b/Master/texmf-dist/tex/latex/beamer/beamerbasecolor.sty
index 8d21e3246c3..4dce70e9317 100644
--- a/Master/texmf-dist/tex/latex/beamer/beamerbasecolor.sty
+++ b/Master/texmf-dist/tex/latex/beamer/beamerbasecolor.sty
@@ -207,7 +207,7 @@
\box\beamer@tempbox%
\fi%
\else%
- \setbox\beamer@tempbox=\hbox{%
+ \if@tempswa\setbox\beamer@tempbox=\hbox{%
\usebeamercolor{\beamer@colbox@color}%
\hskip-\beamer@colbox@colseps%
\fboxsep=\z@\colorbox{bg}{%
@@ -216,7 +216,7 @@
\hskip\beamer@colbox@colseps%
}%
\hskip-\beamer@colbox@colseps%
- }%
+ }\fi%
\ifdim\wd\beamer@tempbox>\textwidth%
\setbox\beamer@tempbox=\hbox to\textwidth{\hskip0pt minus\beamer@leftmargin\relax\box\beamer@tempbox\hskip0pt minus\beamer@leftmargin\relax}%
\fi%