NSRoundUpToMultipleOfPageSize broken?
Chris Kane
ckane at apple.com
Tue Mar 4 18:47:36 PST 2008
It's a bug! Please file a bug. Seems to have been around since
before Mac OS X 10.0.
Workaround is to call NSPageSize() first.
Shows you how often other people are using these functions...
Chris Kane
Cocoa Frameworks, Apple
On Mar 4, 2008, at 10:08 AM, mikevann wrote:
> I know there's other macros to do this but I was just trying out
> some Foundation utils and found NSRoundUpToMultipleOfPageSize always
> returns 0 (same with round down version). I saw no information
> regarding this as depreciated or obsolete, so is this a bug or is it
> generally assumed the Foundation utility functions are not to be
> relied upon?
> _______________________________________________
> MacOSX-dev mailing list
> MacOSX-dev at omnigroup.com
> http://www.omnigroup.com/mailman/listinfo/macosx-dev
More information about the MacOSX-dev
mailing list