[comp.windows.x] Error in R4 xtroff

datri@convex.com (Anthony A. Datri) (01/08/90)

The xtroff found in the R4 contrib tree has a simple error (at least,
it looks like an error to me):

xwindows.c has a differing idea of capitalization than
mit/lib/Xaw/Scrollbar.c -- XawScrollbarSetThumb in xwindows.c vs.
XawScrollBarSetThumb in Scrollbar.c.

Simple fix:

34c34
< # define XtScrollBarSetThumb XawScrollbarSetThumb
---
> # define XtScrollBarSetThumb XawScrollBarSetThumb





(please forgive me if the diff isn't in the usual format; I've never
 had the nerve to post a patch before)

kit@EXPO.LCS.MIT.EDU (Chris D. Peterson) (01/10/90)

> The xtroff found in the R4 contrib tree has a simple error (at least,
> it looks like an error to me):

This one is my fault.  I noticed just before R4 went out that the name of this
convience routine did not match the convention used by the rest of the Scrollbar
widget code, and changed it to be more consistent.  I figured that since the
name was already different, a small change would bite anyone.

Here is how the name changed:

R3:	XtScrollBarSetThumb()		R4:	XawScrollbarSetThumb()


> please forgive me if the diff isn't in the usual format...

We usually suggest using context diffs (diff -c) since they contain more
information.  You also need to include the name of the file that is to be
patched.


						Chris D. Peterson     
						MIT X Consortium 

Net:	 kit@expo.lcs.mit.edu
Phone:   (617) 253 - 9608	
Address: MIT - Room NE43-213