summaryrefslogtreecommitdiffstats
path: root/patches/efax-0.9/generic/efax-0.9-numlines.patch
blob: f66c43ce21b7d866f7af70dac5e801af84d37ff5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
This patch fixes the '-l' option in efix 0.3 which is part of efax 0.9.
Without this patch, lines on page 2 and subsequent are missing if the
specified number of lines per page is lower than the default (66).
<mschwendt@yahoo.com>

diff -Naur efax-0.9-orig/efix.c efax-0.9/efix.c
--- efax-0.9-orig/efix.c	Tue Mar  2 07:02:47 1999
+++ efax-0.9/efix.c	Fri Aug 25 00:34:18 2000
@@ -297,6 +297,9 @@
 
   if ( ! err && ! done ) {
 
+    if ( pfont ) ifile.font = pfont ;
+    if ( pglines ) ifile.pglines = pglines ;
+
     if ( nxtoptind < argc ) {
       ifnames = argv + nxtoptind ;
       if ( argv [ argc ] ) {
@@ -307,9 +310,6 @@
     } else {
       err = msg ( "E3 missing input file name" ) ;
     }
-
-    if ( pfont ) ifile.font = pfont ;
-    if ( pglines ) ifile.pglines = pglines ;
 
     newIFILE ( &ovfile, ovfnames ) ;