summaryrefslogtreecommitdiff
path: root/src/luaotfload.sty
diff options
context:
space:
mode:
Diffstat (limited to 'src/luaotfload.sty')
-rw-r--r--src/luaotfload.sty2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luaotfload.sty b/src/luaotfload.sty
index ad0800f..6ea4c0a 100644
--- a/src/luaotfload.sty
+++ b/src/luaotfload.sty
@@ -47,7 +47,7 @@
% for compatibility with beamer class, which loads pgf package.
\ifcsname selectfont\endcsname
- \AtBeginDocument{\@ifpackageloaded{pgf}{
+ \AtBeginDocument{\@ifpackageloaded{pgfsys}{
\csname newtoks\endcsname\pgf@sys@pgf@resource@list@extgs@toks
\def\pgf@sys@pgf@resource@list@extgs{\the\pgf@sys@pgf@resource@list@extgs@toks}
\def\pgf@sys@addpdfresource@extgs@plain#1{\global\pgf@sys@pgf@resource@list@extgs@toks