Репозитории ALT
S: | 4.4.0-alt4 |
5.1: | 3.9.5-alt1.M50P.1 |
4.1: | 3.8.2-alt2.M41.4 |
4.0: | 3.8.2-alt2 |
+updates: | 3.8.2-alt2 |
3.0: | 3.7.2-alt5 |
Группа :: Система/Библиотеки
Пакет: libtiff
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: libtiff-3.7.2-cvs-tiff2ps.patch
Скачать
Скачать
Index: tools/tiff2ps.c
===================================================================
RCS file: /cvs/maptools/cvsroot/libtiff/tools/tiff2ps.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -p -r1.33 -r1.34
--- tools/tiff2ps.c 6 Feb 2005 17:58:01 -0000 1.33
+++ tools/tiff2ps.c 17 Mar 2005 14:41:59 -0000 1.34
@@ -1,4 +1,4 @@
-/* $Id: tiff2ps.c,v 1.33 2005/02/06 17:58:01 dron Exp $ */
+/* $Id: tiff2ps.c,v 1.34 2005/03/17 14:41:59 dron Exp $ */
/*
* Copyright (c) 1988-1997 Sam Leffler
@@ -598,13 +598,13 @@ TIFF2PS(FILE* fd, TIFF* tif,
fprintf(fd, "%%%%Page: %d %d\n", npages, npages);
if (!generateEPSF && ( level2 || level3 )) {
double psw, psh;
- if (psw != 0.0) {
+ if (pw != 0.0) {
psw = pw * PS_UNIT_SIZE;
if (res_unit == RESUNIT_CENTIMETER)
psw *= 2.54F;
} else
psw=rotate ? prh:prw;
- if (psh != 0.0) {
+ if (ph != 0.0) {
psh = ph * PS_UNIT_SIZE;
if (res_unit == RESUNIT_CENTIMETER)
psh *= 2.54F;