[poppler] poppler/GlobalParamsWin.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Fri Mar 23 12:03:26 PDT 2012


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

New commits:
commit 2f156b34fc8755ddd2a32cac830f3073d6b2c481
Author: Suzuki Toshiya <mpsuzuki at hiroshima-u.ac.jp>
Date:   Fri Mar 23 20:00:18 2012 +0100

    Fix compile in mingw-gcc

diff --git a/poppler/GlobalParamsWin.cc b/poppler/GlobalParamsWin.cc
index dd8768a..36da74a 100644
--- a/poppler/GlobalParamsWin.cc
+++ b/poppler/GlobalParamsWin.cc
@@ -3,6 +3,7 @@
    
    // Copyright (C) 2010 Hib Eris <hib at hiberis.nl>
    // Copyright (C) 2012 Thomas Freitag <Thomas.Freitag at alfa.de>
+   // Copyright (C) 2012 Suzuki Toshiya <mpsuzuki at hiroshima-u.ac.jp>
 
 TODO: instead of a fixed mapping defined in displayFontTab, it could
 scan the whole fonts directory, parse TTF files and build font
@@ -448,7 +449,7 @@ void GlobalParams::setupBaseFonts(char * dir)
     }
 }
 
-static char *findSubstituteName(GfxFont *font, GooHash *substFiles, const char *origName)
+static const char *findSubstituteName(GfxFont *font, GooHash *substFiles, const char *origName)
 {
     assert(origName);
     if (!origName) return NULL;


More information about the poppler mailing list