Menu

#794 oodraw.rex sample has backwards logic

v4.1
closed
Samples (22)
5
2012-08-14
2009-08-22
No

In the oodraw.rex sample there is this logic:

self~InitCode = self~createcenter(200,235,"OODialog Color Drawing Demonstration",,,"System", 8)

However, initCode is suppossed to be 0 for no error and non-zero for error. createCenter() on the other hand return 0 for error and 1 for no error. With the current code, initCode gets set to 0 when there is an error and non-zero when there is no error.

Discussion

  • Mark Miesfeld

    Mark Miesfeld - 2009-08-23

    Committed revision 5099.

     
  • Mark Miesfeld

    Mark Miesfeld - 2010-09-11

    Committed revision 6173.

    4.1.0 merge.

     
  • Mark Miesfeld

    Mark Miesfeld - 2010-12-05

    The fix for this item was in the 4.1.0 release.

     

Anonymous
Anonymous

Add attachments
Cancel