On Dec 3, 2013, at 6:36 PM, Tom Browder wrote:

>> Fix return checks. Looks like r58729 went from wrong (incorrect operator 
>> precedence) to still wrong (not a predicate return).
> 
> Shouldn't that be <= 0?

The function is not documented, but the current implementation returns 1 on 
success and -1 on failure.  It should probably return a 0/1 boolean instead, 
but all callers would need to be checked and possibly updated.

Cheers!
Sean


------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to