mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-06-14 12:31:25 +00:00
Fix XBM colour rendering in NS port (bug#22060)
src/nsimage.m (setXBMColor): Fix calculation of xbm_fg.
This commit is contained in:
parent
5d21c627f7
commit
e528a750da
1 changed files with 1 additions and 1 deletions
|
|
@ -302,7 +302,7 @@ - (void)dealloc
|
|||
planes[1][i] = gg;
|
||||
planes[2][i] = bb;
|
||||
}
|
||||
xbm_fg = ((rr << 16) & 0xff) + ((gg << 8) & 0xff) + (bb & 0xff);
|
||||
xbm_fg = ((rr << 16) & 0xff0000) + ((gg << 8) & 0xff00) + (bb & 0xff);
|
||||
}
|
||||
|
||||
return self;
|
||||
|
|
|
|||
Loading…
Reference in a new issue