* w32fns.c (Fx_display_color_cells): Instead of using NCOLORS,
commit821812e2477f45ac5f2572dd7d469b8408e351aa
authorDaniel Colascione <dancol@dancol.org>
Mon, 8 Oct 2012 18:44:42 +0000 (8 10:44 -0800)
committerDaniel Colascione <dancol@dancol.org>
Mon, 8 Oct 2012 18:44:42 +0000 (8 10:44 -0800)
tree4807f1dfe184bbc5479bc10914750ef1c32a1a9b
parent1337353856dbf0dcfe8378ccf96f26442eee73e9
* w32fns.c (Fx_display_color_cells): Instead of using NCOLORS,
which is broke under remote desktop, calculating the number of
colors available for a display based on the display's number of
planes and number of bits per pixel per plane.  (bug#10397).
src/ChangeLog
src/w32fns.c