[poppler] poppler/GlobalParamsWin.cc

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Oct 5 18:14:23 UTC 2018


 poppler/GlobalParamsWin.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f39161321dcbb7932b77f4883814ce503b9442fe
Author: Albert Astals Cid <aacid at kde.org>
Date:   Fri Oct 5 20:14:09 2018 +0200

    Fix Windows build

diff --git a/poppler/GlobalParamsWin.cc b/poppler/GlobalParamsWin.cc
index 98e6c152..024ae63d 100644
--- a/poppler/GlobalParamsWin.cc
+++ b/poppler/GlobalParamsWin.cc
@@ -281,7 +281,7 @@ void SysFontList::scanWindowsFonts(GooString *winFontDir) {
 	    } else {
 	      p1 = p0 + strlen(p0);
 	    }
-	    fonts->append(makeWindowsFont(p0, fontNum,
+	    fonts->push_back(makeWindowsFont(p0, fontNum,
 					  fontPath->getCString()));
 	    p0 = p1;
 	    ++fontNum;


More information about the poppler mailing list