[comp.windows.x] Bug? in R4 Athena Widgets: AsciiText.c

devin@samwise.Colorado.EDU (Yampalimardilor) (01/06/91)

I'm using the WWL (Widget Wrapper Library) version 1.1 and the R4 Athena
Widgets, and I've noticed that in AsciiText.c the class_name for
AsciiText is defined as "Text".  This causes problems in the GenWIDGET
program which looks at this resource & uses it to generate header files,
because the Text widgets class_name is also "Text".  Is there a better
place than comp.windows.x to report this?

Suggested fix:
*** AsciiText.c.orig	Sat Jan  5 16:15:08 1991
--- AsciiText.c	Sat Jan  5 16:15:53 1991
***************
*** 63,69 ****
  AsciiTextClassRec asciiTextClassRec = {
    { /* core fields */
      /* superclass       */      (WidgetClass) &textClassRec,
!     /* class_name       */      "Text",
      /* widget_size      */      sizeof(AsciiRec),
      /* class_initialize */      ClassInitialize,
      /* class_part_init  */	NULL,
--- 63,69 ----
  AsciiTextClassRec asciiTextClassRec = {
    { /* core fields */
      /* superclass       */      (WidgetClass) &textClassRec,
!     /* class_name       */      "AsciiText",
      /* widget_size      */      sizeof(AsciiRec),
      /* class_initialize */      ClassInitialize,
      /* class_part_init  */	NULL,

		-Devin

Devin Hooker     (RP90)     DoD #0034
"Time - don't ponder it too long..."
"Performing on a stool we've a sight to make you drool
	Seven virgins and a mule.  Keep it cool.  Keep it cool." -ELP