From 0092480f01e16c50a81b2cbe6bacde51d746802a Mon Sep 17 00:00:00 2001
From: Dohyun Kim <nomosnomos@gmail.com>
Date: Tue, 5 May 2015 00:42:10 +0900
Subject: pgfsys package, not pgf.

---
 src/luaotfload.sty | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/luaotfload.sty')

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
-- 
cgit v1.2.3

