Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37832482
en ru br
Репозитории ALT
S:4.04-alt1
5.1: 3.02-alt7
4.1: 3.02-alt4.M41.1
4.0: 3.02-alt3
3.0: 3.00-alt5pl3
+backports:3.01-alt0.M30.2
www.altlinux.org/Changes

Группа :: Офис
Пакет: xpdf

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: xpdf-bookmarklocale.patch
Скачать


--- 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
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin