Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!rochester!rocksanne!jhs From: jhs@rocksanne.UUCP (Hans Schlichter) Newsgroups: comp.windows.x Subject: error in XtListChange of Athena list widget Keywords: toolkit, listwidget, R3 Message-ID: <746@rocksanne.UUCP> Date: 5 May 89 15:38:33 GMT Organization: Xerox: Webster Research Center, Rochester, NY Lines: 16 I think there is an error in XtListChange of the Athena list-widget (X11R3). The routine resets the current highlighting calling: lw->list.highlight = NO_HIGHLIGHT; It should also reset (statement missing in code): lw->list.is_highlighted = NO_HIGHLIGHT; Otherwise you will get a segment violation if you do the following: select an item shorten your list (the index of the previously selected item is larger than the new largest index) select a new item /Hans Arpa-Net: schlichter.wbst@xerox.com UUCP: rochester!rocksanne!jhs