Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-gnome
Path: blob/main/cad/jspice3/files/patch-src_bin_help.c
16151 views
1
--- src/bin/help.c.orig 2015-11-05 17:57:50 UTC
2
+++ src/bin/help.c
3
@@ -14,6 +14,7 @@ Authors: 1986 Wayne A. Christopher
4
#include <pwd.h>
5
#endif
6
7
+static char *hcopydev;
8
#ifdef HAVE_X11
9
10
#include <X11/Intrinsic.h>
11
@@ -22,7 +23,6 @@ Authors: 1986 Wayne A. Christopher
12
Display *Xdisplay;
13
static XtAppContext app_con;
14
static Widget toplevel;
15
-static char *hcopydev;
16
17
static String fallback_resources[] = {
18
19
@@ -188,7 +188,7 @@ int t;
20
{
21
if (!strcmp(n, kw_hcopydev)) {
22
strcpy(r, hcopydev);
23
- return (True);
24
+ return (1);
25
}
26
return (false);
27
}
28
29