Skip to content

Commit

Permalink
Simplify a patch
Browse files Browse the repository at this point in the history
This avoids looking for an internal command that will be removed
in a future update.
  • Loading branch information
josephwright committed Jan 6, 2017
1 parent d71d078 commit a733954
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/beamerfontthememetropolis.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -406,13 +406,13 @@
%
% \begin{macrocode}
\patchcmd{\beamer@@frametitle}
{\beamer@ifempty{#2}{}{%
{{%
\gdef\insertframetitle{{#2\ifnum\beamer@autobreakcount>0\relax{}\space%
\usebeamertemplate*{frametitle continuation}\fi}}%
\gdef\beamer@frametitle{#2}%
\gdef\beamer@shortframetitle{#1}%
}}
{\beamer@ifempty{#2}{}{%
{{%
\gdef\insertframetitle{{\metropolis@frametitleformat{#2}\ifnum%
\beamer@autobreakcount>0\relax{}\space%
\usebeamertemplate*{frametitle continuation}\fi}}%
Expand Down

0 comments on commit a733954

Please sign in to comment.