diff options
| author | Chong Yidong | 2009-05-10 22:21:17 +0000 |
|---|---|---|
| committer | Chong Yidong | 2009-05-10 22:21:17 +0000 |
| commit | b91266095543d914ec35b3f289abf2dd2bdf8531 (patch) | |
| tree | 8e6c3fc73ddf4aa320e5daf76d47e88c7a406eb3 /src | |
| parent | 143770f236fe75247343d0d5c063dc09d1cf10df (diff) | |
| download | emacs-b91266095543d914ec35b3f289abf2dd2bdf8531.tar.gz emacs-b91266095543d914ec35b3f289abf2dd2bdf8531.zip | |
* nsfns.m (Fx_display_planes): Compute bitplanes using
NSBitsPerPixelFromDepth (Bug#3207).
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/nsfns.m | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index b02b2e7931b..0d9c4dd196b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2009-05-07 David Reitter <david.reitter@gmail.com> | ||
| 2 | |||
| 3 | * nsfns.m (Fx_display_planes): Compute bitplanes using | ||
| 4 | NSBitsPerPixelFromDepth (Bug#3207). | ||
| 5 | |||
| 1 | 2009-05-10 Chong Yidong <cyd@stupidchicken.com> | 6 | 2009-05-10 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 7 | ||
| 3 | * editfns.c (Ftranspose_regions): Doc fix (Bug#3248). | 8 | * editfns.c (Ftranspose_regions): Doc fix (Bug#3248). |
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. */) | |||
| 2383 | { | 2383 | { |
| 2384 | check_ns (); | 2384 | check_ns (); |
| 2385 | return make_number | 2385 | return make_number |
| 2386 | (NSBitsPerSampleFromDepth ([ns_get_screen (display) depth])); | 2386 | (NSBitsPerPixelFromDepth ([ns_get_screen (display) depth])); |
| 2387 | } | 2387 | } |
| 2388 | 2388 | ||
| 2389 | 2389 | ||