Bug report 5.4

Tom Hughes tom at compton.nu
Sat Mar 4 16:44:31 GMT 2000


Colin Granville <colin at c-granville.freeserve.co.uk> wrote:

> I don't know if you fixed this in the latest version but I was
> looking through the toolbox 'scrolllist.h' and noticed the
> following
>
> ScrollList_SetFont           should be 0x4024
> ScrollList_GetItemText       should be 0x4025

Mea culpa. This is my doing and I'll fix it.

> I also think in scrolllist_add_item() index would be better named
> insert_before_item and you probably need a constant for the value
> -1 means insert before end.

I'm a bit reluctant to change index to insert_before_item without
also changing all the other methods that us index or variations on
index as argument names.

Is that use of -1 documented anywhere? only the spec I've got here
doesn't seem to mention it.

Tom

-- 
Tom Hughes (tom at compton.nu)
http://www.compton.nu/
...BREAKFAST.COM Halted...Cereal Port Not Responding.




More information about the oslib-user mailing list