Commit b9126609 authored by Chong Yidong's avatar Chong Yidong

* nsfns.m (Fx_display_planes): Compute bitplanes using

NSBitsPerPixelFromDepth (Bug#3207).
parent 143770f2
2009-05-07 David Reitter <david.reitter@gmail.com>
* nsfns.m (Fx_display_planes): Compute bitplanes using
NSBitsPerPixelFromDepth (Bug#3207).
2009-05-10 Chong Yidong <cyd@stupidchicken.com>
* editfns.c (Ftranspose_regions): Doc fix (Bug#3248).
......
......@@ -2383,7 +2383,7 @@ The return value is a list of integers (LEFT TOP WIDTH HEIGHT), which
{
check_ns ();
return make_number
(NSBitsPerSampleFromDepth ([ns_get_screen (display) depth]));
(NSBitsPerPixelFromDepth ([ns_get_screen (display) depth]));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment