[comp.windows.news] GoodNeWS bug fix: drawps & dvi2ps

don@BRILLIG.UMD.EDU (Don Hopkins) (07/01/89)

In the file tools/drawps/obj.c, to the function
"read_char_from_file()", add the following statement to the end of the
function:

	return(c);

It just happened to work without that on a 68K because c was the only
local variable of the function, but drawps would bomb with a "stack
underflow" error on a SPARC. (it's a mini PostScript interpreter!)

You will also have to remake dvi2ps, too, since it grabs the obj.o
binary from $(DRAWPSDIR).

Has anybody made a class of Thing to wrap up drawings in so you can
use them as menu keys, item labels, etc? 

	-Don