v04i090: Patch to xplot (actually to the plot (3x) library), Patch1
Dan Heller
argv at island.uu.net
Wed Aug 9 17:30:01 AEST 1989
Submitted-by: arthur at helios.tn.cornell.edu (Arthur Smith)
Posting-number: Volume 4, Issue 90
Archive-name: xplot/patch1
Patch-To: Xplot, Volume 4, Issue 81
It has come to my attention that the plot (3x) library I supplied
with xplot did not actually handle the strings in label and linemod
correctly (it assumed the argument string already contained a newline,
which is required by plot(5), but not in the subroutines). A patch
is included here:
-------------------------- cut here -----------------------------------
*** xplot/xlibplot/xlibplot.c- Fri Aug 4 14:46:16 1989
--- xplot/xlibplot/xlibplot.c Fri Aug 4 15:06:40 1989
***************
*** 28,33 ****
--- 28,34 ----
char *s;
{
strcpy(xplotlib_buf,s);
+ strcat(xplotlib_buf, "\n");
putentry('t',strlen(xplotlib_buf));
}
***************
*** 103,108 ****
--- 104,110 ----
char *s;
{
strcpy(xplotlib_buf,s);
+ strcat(xplotlib_buf, "\n");
putentry('f',strlen(xplotlib_buf));
}
-------------------------- cut here -----------------------------------
Arthur Smith
arthur at helios.tn.cornell.edu (arpanet)
arthur at crnlassp (bitnet)
More information about the Comp.sources.x
mailing list