diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2012-01-15 08:02:26 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2012-01-15 08:02:26 +0000 |
commit | 36c6b8260133c93a4197536965dfb94c4ece41f0 (patch) | |
tree | 17f8bf967dbca180e744c2919ca71ffc8f32c9d9 /print/ghostscript9/files/patch-lips:gdevlips.c | |
parent | e360f3613caf9c9178364c161ea40e951e718987 (diff) | |
download | ports-36c6b8260133c93a4197536965dfb94c4ece41f0.tar.gz ports-36c6b8260133c93a4197536965dfb94c4ece41f0.zip |
Notes
Diffstat (limited to 'print/ghostscript9/files/patch-lips:gdevlips.c')
-rw-r--r-- | print/ghostscript9/files/patch-lips:gdevlips.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/print/ghostscript9/files/patch-lips:gdevlips.c b/print/ghostscript9/files/patch-lips:gdevlips.c index 95f8b06f4841..0917be89e49a 100644 --- a/print/ghostscript9/files/patch-lips:gdevlips.c +++ b/print/ghostscript9/files/patch-lips:gdevlips.c @@ -1,18 +1,18 @@ ---- contrib/lips4/gdevlips.c.orig Thu Nov 2 12:09:18 2000 -+++ contrib/lips4/gdevlips.c Tue Jan 13 01:23:47 2004 +--- contrib/lips4/gdevlips.c.orig 2011-08-05 20:12:20.000000000 +0900 ++++ contrib/lips4/gdevlips.c 2011-12-06 15:31:38.000000000 +0900 @@ -62,7 +62,15 @@ - height = tmp; + height = tmp; } for (pt = lips_paper_table; pt->num_unit < 80; pt++) +/* add by shige 11/06 2003 */ +#ifdef USE_LIPS_SIZE_ERROR + if(pt->width+LIPS_SIZE_ERROR_VALUE>=width -+ && pt->width-LIPS_SIZE_ERROR_VALUE<=width -+ && pt->height+LIPS_SIZE_ERROR_VALUE>=height -+ && pt->height-LIPS_SIZE_ERROR_VALUE<=height) ++ && pt->width-LIPS_SIZE_ERROR_VALUE<=width ++ && pt->height+LIPS_SIZE_ERROR_VALUE>=height ++ && pt->height-LIPS_SIZE_ERROR_VALUE<=height) +#else - if (pt->width == width && pt->height == height) + if (pt->width == width && pt->height == height) +#endif - break; + break; return pt->num_unit + landscape; |