diff options
author | Fabián Ezequiel Gallina <fgallina@gnu.org> | 2014-12-27 13:31:20 -0300 |
---|---|---|
committer | Fabián Ezequiel Gallina <fgallina@gnu.org> | 2014-12-27 13:31:20 -0300 |
commit | 35e1f9d9fcbaab51808e05f514e63927f959ae51 (patch) | |
tree | e9d7d0ef8b1d61d728d4d076e46088a3b9b29d73 /src/nsimage.m | |
parent | f315b69922db769f3358e15616aa76c965be8a89 (diff) | |
parent | a5f38fa1cc8eafe13f2073ebfaa8205b5e919d17 (diff) | |
download | emacs-35e1f9d9fcbaab51808e05f514e63927f959ae51.tar.gz |
Merge from origin/emacs-24
a5f38fa Fix ChangeLog typo
c6400e1 Fix composition of characters from Syriac and Arabis scripts.
7e9dfde python.el: Fix message when sending region.
800260c python.el: Cleanup temp files even with eval errors.
ed65b91 Fix for previous commit
2dd5163 python.el: Handle file encoding for shell.
7aa506e Spelling fixes
4cd6d77 * automated/tramp-tests.el (tramp-test17-insert-directory): Do not expect a given order of "." and "..".
a41d07b Fix rendering of composed caharacters on the mode line. (Bug#19435)
b70977c Small doc markup fixes
73c050c * doc/lispref/modes.texi (Defining Minor Modes, SMIE Lexer): Markup fixes.
1783e6c ChangeLog fix
c741b1b TUTORIAL.es: Improve style consistency
f89efea TUTORIAL.es: spelling fixes
0d48826 Avoid compiler warning.
Conflicts:
doc/lispref/ChangeLog
doc/lispref/control.texi
etc/ChangeLog
lisp/ChangeLog
src/ChangeLog
test/ChangeLog
Diffstat (limited to 'src/nsimage.m')
-rw-r--r-- | src/nsimage.m | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nsimage.m b/src/nsimage.m index 640dfcbc113..d5c06477f8b 100644 --- a/src/nsimage.m +++ b/src/nsimage.m @@ -351,15 +351,15 @@ ns_set_alpha (void *img, int x, int y, unsigned char a) { if ([rep respondsToSelector: @selector (getBitmapDataPlanes:)]) { - NSBitmapImageRep *bmRep = (NSBitmapImageRep *) rep; + NSBitmapImageRep *bmr = (NSBitmapImageRep *) rep; - if ([bmRep numberOfPlanes] >= 3) - [bmRep getBitmapDataPlanes: pixmapData]; + if ([bmr numberOfPlanes] >= 3) + [bmr getBitmapDataPlanes: pixmapData]; /* The next two lines cause the DPI of the image to be ignored. This seems to be the behavior users expect. */ [self setScalesWhenResized: YES]; - [self setSize: NSMakeSize([bmRep pixelsWide], [bmRep pixelsHigh])]; + [self setSize: NSMakeSize([bmr pixelsWide], [bmr pixelsHigh])]; break; } |