[comp.windows.x] xedit bug fix

heins@trwrb.UUCP (Michael T. Heins) (01/28/88)

[]
Please excuse me if this fix has been posted, or is part of the patches.

The xedit client that came with my X11R1 package would bomb out during
initialization under SunOs3.4, due to passing a null pointer to strcmp().
The change below to file xedit.c cured the problem.

147,148c147,148
<     QXtButtonBoxAddButton(CurDpy, Row1, fixup(Row1Desc), XtNumber(Row1Desc)); 
<     QXtButtonBoxAddButton(CurDpy, Row2, fixup(Row2Desc), XtNumber(Row2Desc)); 
---
>     QXtButtonBoxAddButton(CurDpy, Row1, fixup(Row1Desc),XtNumber(Row1Desc)-1);
>     QXtButtonBoxAddButton(CurDpy, Row2, fixup(Row2Desc),XtNumber(Row2Desc)-1);

And now a question: how do I get the patches?  Is there a netlib-like
mechanism?  Thanks.

Michael Heins

-- 
	...!hplabs!sdcrdcf!trwrb!heins

	We are a way for the universe to know itself. -- Carl Sagan