Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!ncar!csn!samwise!devin From: devin@samwise.Colorado.EDU (Yampalimardilor) Newsgroups: comp.windows.x Subject: Bug? in R4 Athena Widgets: AsciiText.c Keywords: AsciiText class_name = "Text" Message-ID: <1991Jan5.232454.29567@csn.org> Date: 5 Jan 91 23:24:54 GMT Sender: news@csn.org Reply-To: devin@boulder.Colorado.EDU Followup-To: comp.windows.x Organization: University of Colorado, Boulder Lines: 34 Nntp-Posting-Host: samwise.colorado.edu 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