#889 addListEntry() won't accept 'DATA' for an entry

v4.0.1
closed
1
2012-08-14
2010-02-25
No

This turns out to be a bug in the original ooDialog code:

::method AddListEntry unguarded
use arg id, data
if Arg(2,'o') = 1 | data = "DATA" then return -1

The check:

if Arg(2,'o') = 1 | data = "DATA"

is looking to see if arg 2 was omitted. But, "if arg(2, 'O') = 1" is sufficient.

The bug does not exist in trunk where many of the methods, including this one, have been updated.

The bug was brought to my attention on comp.lang.rexx.

Discussion

  • Mark Miesfeld

    Mark Miesfeld - 2010-02-25

    Committed revision 5631.

     
  • Mark Miesfeld

    Mark Miesfeld - 2010-09-08

    The fix for this item was in the 4.0.1 release.

     


Anonymous

Cancel  Add attachments





Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks