21 lines
510 B
Plaintext
21 lines
510 B
Plaintext
|
$OpenBSD: patch-pbm_pbmtomacp_c,v 1.1 2003/03/29 04:13:54 brad Exp $
|
||
|
--- pbm/pbmtomacp.c.orig Thu Mar 2 21:27:33 2000
|
||
|
+++ pbm/pbmtomacp.c Fri Mar 28 20:22:06 2003
|
||
|
@@ -102,6 +102,7 @@ char *argv[];
|
||
|
if( !lflg )
|
||
|
left = 0;
|
||
|
|
||
|
+ overflow_add(left, MAX_COLS - 1);
|
||
|
if( rflg )
|
||
|
{ if( right - left >= MAX_COLS )
|
||
|
right = left + MAX_COLS - 1;
|
||
|
@@ -111,6 +112,8 @@ char *argv[];
|
||
|
|
||
|
if( !tflg )
|
||
|
top = 0;
|
||
|
+
|
||
|
+ overflow_add(top, MAX_LINES - 1);
|
||
|
|
||
|
if( bflg )
|
||
|
{ if( bottom - top >= MAX_LINES )
|