Blob Blame History Raw
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 ) ;