Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!uunet!elroy.jpl.nasa.gov!sdd.hp.com!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!jgh1 From: jgh1@unix.cis.pitt.edu (John G. Hardie) Newsgroups: comp.sys.amiga.applications Subject: Re: Multiplot XLN - strange lables on y axis Message-ID: <120047@unix.cis.pitt.edu> Date: 25 Apr 91 16:05:12 GMT References: <119472@unix.cis.pitt.edu> Organization: Nuclear Physics Lab, Univ. of Pittsburgh Lines: 42 In article <119472@unix.cis.pitt.edu> jgh1@unix.cis.pitt.edu (John G. Hardie) writes: > >I've been looking at Multiplot XLN(d) - from FF 467(?). >Nice program, but the Y axis labels have junk in them. [...] Ok, I fixed it. In the function that "rotated" the amiga fonts for display along the y axis there was code like: (something like the following...) DisplayVertText(string,itext) char *string; struct IntuiText *itext; { char c; int i,j; j = strlen(string); for (i=0; iIText = &c; [some other stuff...] PrintIText(...Itext...); } } I changed the 'char c;' to 'char c[2];' and forced an explicit NULL into c[1]. This seems to have fixed the problem. John. -- jgh1@unix.cis.pitt.edu My work here is finished. Why wait?