On Sat, Apr 12, 2008 at 2:58 AM, Dean Ritchie <[EMAIL PROTECTED]> wrote:
> columnCount = [[LASize cellAtIndex:0] intValue]; > rowCount = [[LASize cellAtIndex:1] intValue]; > When I stop right after initializing the NSRect local variable, the > debugger reports miniscule values for the portions of the rectangle, like it > got overlaid with integers instead of float values. Where are columnCount and rowCount declared, and as what types? Hamish P.S. Use a logical OR rather than a numerical one: if (columnCount < 5 || rowCount < 5) return; _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]