Fix setting colors on MS-DOS frames.
authorEli Zaretskii <eliz@gnu.org>
Sat, 3 Jul 2010 14:36:18 +0000 (17:36 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 3 Jul 2010 14:36:18 +0000 (17:36 +0300)
commit76ea4cc96bbf9db3ed9c0f6785c85f1880c61c08
treeb7f8eae2b189a6335f0b0c0b6b307d9d8b65c112
parent1e6255ae888ffbee3a713c7d7fb41b8d6480ddb4
Fix setting colors on MS-DOS frames.

 msdos.c (IT_set_frame_parameters): Fix setting of colors in
 frames other than the initial one.  Fix reversal of colors when
 `reverse' is specified in the frame parameters.  Call
 update_face_from_frame_parameter instead of
 internal-set-lisp-face-attribute.  Initialize screen colors from
 initial_screen_colors[] when f->default_face_done_p is zero,
 instead of depending on being called with default-frame-alist as
 the alist argument.
 xfaces.c (update_face_from_frame_parameter): Move out of
 HAVE_WINDOW_SYSTEM portion.  Condition window-system only parts
 with HAVE_WINDOW_SYSTEM.
src/ChangeLog
src/msdos.c
src/xfaces.c