screader (1.8-5.1) process.c

Summary

 process.c |    3 +++
 1 file changed, 3 insertions(+)

    
download this patch

Patch contents

--- screader-1.8.orig/process.c
+++ screader-1.8/process.c
@@ -29,6 +29,7 @@
 #include <sys/stat.h>
 #include <signal.h>
 #include <fcntl.h>
+#include <string.h>
 #if !defined(sun) && !defined(B43) && !defined(ISC) && !defined(pyr) && !defined(_CX_UX)
 # include <time.h>
 #endif
@@ -2325,10 +2326,12 @@
 	    printcmd = SaveStr(*args);
 	}
       if (*args == 0 || msgok)
+        {
 	if (printcmd)
 	  Msg(0, "using '%s' as print command", printcmd);
 	else
 	  Msg(0, "using termcap entries for printing");
+        }
       break;
     case RC_DIGRAPH:
       Input("Enter digraph: ", 10, digraph_fn, INP_EVERY);