diff options
author | Steve Price <steve@FreeBSD.org> | 1998-02-18 20:53:44 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1998-02-18 20:53:44 +0000 |
commit | 49f7c50002763d90e0556468daac9708e216dd76 (patch) | |
tree | b0aaf0996f93e5b1f97db2c7005171f3878c99a4 /graphics/gplot/files/patch-ab | |
parent | Upgrade to 1.44. (diff) |
Initial import of gplot.
Graphic utilities for the processing of CGM metafiles
Notes
Notes:
svn path=/head/; revision=9816
Diffstat (limited to 'graphics/gplot/files/patch-ab')
-rw-r--r-- | graphics/gplot/files/patch-ab | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/graphics/gplot/files/patch-ab b/graphics/gplot/files/patch-ab new file mode 100644 index 000000000000..031a35298f48 --- /dev/null +++ b/graphics/gplot/files/patch-ab @@ -0,0 +1,23 @@ +*** utils.c.orig Sun Nov 30 01:11:39 1997 +--- utils.c Sun Nov 30 01:24:00 1997 +*************** +*** 300,308 **** + struct info_struct *out_info; + struct one_opt *opt; /* put command line options here */ + #define may_override(name) if (opt[(int) name].set) switch (opt[(int) name].tag) { \ +! case integer: out_info->name = opt[(int) name].val.i; break; \ +! case real: out_info->name = opt[(int) name].val.r; break; \ +! case lst: case str: strcpy(out_info->name, opt[(int) name].val.str); break;} + { + /* and now overide the device if the command line wants us to */ + may_override(pxl_in); +--- 300,308 ---- + struct info_struct *out_info; + struct one_opt *opt; /* put command line options here */ + #define may_override(name) if (opt[(int) name].set) switch (opt[(int) name].tag) { \ +! case integer: out_info->name = opt[(int) name].val.i; break; \ +! case real: out_info->name = opt[(int) name].val.r; break; \ +! case lst: case str: strncpy(out_info->name, opt[(int) name].val.str,max_str); break;} + { + /* and now overide the device if the command line wants us to */ + may_override(pxl_in); |