diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2009-05-10 22:21:17 +0000 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2009-05-10 22:21:17 +0000 |
commit | b91266095543d914ec35b3f289abf2dd2bdf8531 (patch) | |
tree | 8e6c3fc73ddf4aa320e5daf76d47e88c7a406eb3 /src/nsfns.m | |
parent | 143770f236fe75247343d0d5c063dc09d1cf10df (diff) | |
download | emacs-b91266095543d914ec35b3f289abf2dd2bdf8531.tar.gz |
* nsfns.m (Fx_display_planes): Compute bitplanes using
NSBitsPerPixelFromDepth (Bug#3207).
Diffstat (limited to 'src/nsfns.m')
-rw-r--r-- | src/nsfns.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nsfns.m b/src/nsfns.m index 13f9953554f..01ffcf1181c 100644 --- a/src/nsfns.m +++ b/src/nsfns.m @@ -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])); } |