]> git.eshelyaron.com Git - emacs.git/commitdiff
* nsfns.m (Fx_display_planes): Compute bitplanes using
authorChong Yidong <cyd@stupidchicken.com>
Sun, 10 May 2009 22:21:17 +0000 (22:21 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Sun, 10 May 2009 22:21:17 +0000 (22:21 +0000)
NSBitsPerPixelFromDepth (Bug#3207).

src/ChangeLog
src/nsfns.m

index b02b2e7931be72f6fd731337ad10bd56d279906e..0d9c4dd196b5b6e56656060ce705b8a3aa056fc8 100644 (file)
@@ -1,3 +1,8 @@
+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).
index 13f9953554fb68ddb76a799e3e0db4bc50b93676..01ffcf1181c9148a5a358492d66ee0db19ecfef2 100644 (file)
@@ -2383,7 +2383,7 @@ If omitted or nil, that stands for the selected frame's display.  */)
 {
   check_ns ();
   return make_number
-    (NSBitsPerSampleFromDepth ([ns_get_screen (display) depth]));
+    (NSBitsPerPixelFromDepth ([ns_get_screen (display) depth]));
 }