#794 oodraw.rex sample has backwards logic

v4.1
closed
Mark Miesfeld
Samples (22)
5
2012-08-14
2009-08-22
Mark Miesfeld
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


Anonymous


Cancel   Add attachments