Репозитории 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 |
Группа :: Офис
Пакет: xpdf
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: xpdf-debian-fix-479467.patch
Скачать
Скачать
#! /bin/sh /usr/share/dpatch/dpatch-run
## fix-479467.dpatch from Stephan Beyer <s-beyer@gmx.net>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Fix segmentation fault when pressing g in full screen mode
@DPATCH@
diff -ruN xpdf-3.02.old/xpdf/XPDFViewer.cc xpdf-3.02.fix/xpdf/XPDFViewer.cc
--- xpdf-3.02.old/xpdf/XPDFViewer.cc 2007-02-27 23:05:52.000000000 +0100
+++ xpdf-3.02.fix/xpdf/XPDFViewer.cc 2008-05-04 21:29:34.000000000 +0200
@@ -834,6 +834,9 @@
void XPDFViewer::cmdFocusToPageNum(GString *args[], int nArgs,
XEvent *event) {
+ if (core->getFullScreen()) {
+ return;
+ }
XmTextFieldSetSelection(pageNumText, 0,
strlen(XmTextFieldGetString(pageNumText)),
XtLastTimestampProcessed(display));