Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37399491
en ru br
ALT Linux repositórios
S:4.04-alt1
5.0: 3.02-alt4
4.1: 3.02-alt4.M41.1
4.0: 3.02-alt3
3.0: 3.00-alt5pl3
+backports:3.01-alt0.M30.2

Group :: Escritórios
RPM: xpdf

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: xpdf-bookmarklocale.patch
Download


--- xpdf-3.00/xpdf/XPDFViewer.cc    2004-01-22 01:26:45.000000000 +0000
+++ xpdf-3.00/xpdf/XPDFViewer.cc    2004-02-16 13:33:12.000000000 +0000
@@ -1592,7 +1592,6 @@
 void XPDFViewer::setupOutline() {
   GList *items;
   UnicodeMap *uMap;
-  GString *enc;
   int i;
   // unmanage and destroy the old labels
@@ -1611,11 +1610,8 @@
     // create the new labels
     items = core->getDoc()->getOutline()->getItems();
     if (items && items->getLength() > 0) {
-      enc = new GString("Latin1");
-      uMap = globalParams->getUnicodeMap(enc);
-      delete enc;
+      uMap = globalParams->getTextEncoding();
       setupOutlineItems(items, NULL, uMap);
-      uMap->decRefCnt();
     }
     // manage the new labels
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009