summaryrefslogtreecommitdiff
path: root/cad/jspice3/files/patch-src_bin_help.c
blob: 1ca588c6470c2729fb979326c40a75a208286ad6 (plain) (blame)
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
--- src/bin/help.c.orig	2015-11-05 17:57:50 UTC
+++ src/bin/help.c
@@ -14,6 +14,7 @@ Authors: 1986 Wayne A. Christopher
 #include <pwd.h>
 #endif
 
+static char *hcopydev;
 #ifdef HAVE_X11
 
 #include <X11/Intrinsic.h>
@@ -22,7 +23,6 @@ Authors: 1986 Wayne A. Christopher
 Display *Xdisplay;
 static XtAppContext app_con;
 static Widget toplevel;
-static char *hcopydev;
 
 static String fallback_resources[] = {
     
@@ -188,7 +188,7 @@ int t;
 {
     if (!strcmp(n, kw_hcopydev)) {
         strcpy(r, hcopydev);
-        return (True);
+        return (1);
     }
     return (false);
 }