[comp.windows.x] X11 fix #38, lib/Xtk/StringSrc.c, correct wrong argument

RWS@ZERMATT.LCS.MIT.EDU (Robert Scheifler) (10/29/87)

    Date: Tue 27 Oct 1987 10:29:20 EST
    From: David Rosenthal <dshr@Sun.COM>

    SYNOPSIS:
	    XtStringSourceCreate() uses the wrong arguments for
	    XtGetSubresources().
    FIX:
	Sorry, this one got fixed a while ago, but I failed to
	send out the fix.

	in lib/Xtk/StringSrc.c:

*** /tmp/,RCSt1006837	Wed Oct 28 15:59:31 1987
--- StringSrc.c	Fri Sep 18 19:16:15 1987
***************
*** 1,5 ****
  #ifndef lint
! static char rcsid[] = "$Header: StringSrc.c,v 1.3 87/09/13 13:28:11 swick Exp $";
  #endif lint
  
  /*
--- 1,5 ----
  #ifndef lint
! static char rcsid[] = "$Header: StringSrc.c,v 1.4 87/09/18 19:15:59 newman Exp $";
  #endif lint
  
  /*
***************
*** 252,258 ****
      data = (StringSourcePtr) src->data;
  
  /* XXX name and class??? */
!     XtGetSubresources (XtDisplay(w), data, "subclass", "subclass",
          stringResources, XtNumber(stringResources), args, argCount);
  
      if (data->str == NULL) {
--- 252,258 ----
      data = (StringSourcePtr) src->data;
  
  /* XXX name and class??? */
!     XtGetSubresources (w, data, "subclass", "subclass",
          stringResources, XtNumber(stringResources), args, argCount);
  
      if (data->str == NULL) {