Mercurial > emacs
changeset 98590:2d6205c3076b
(make_terminal_frame) [MSDOS]: Remove unused #ifdef'ed away code.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Thu, 09 Oct 2008 17:32:15 +0000 |
parents | b4502c55e86b |
children | d37ded169d17 |
files | src/frame.c |
diffstat | 1 files changed, 1 insertions(+), 19 deletions(-) [+] |
line wrap: on
line diff
--- a/src/frame.c Thu Oct 09 16:41:17 2008 +0000 +++ b/src/frame.c Thu Oct 09 17:32:15 2008 +0000 @@ -592,25 +592,7 @@ if (!inhibit_window_system && (!FRAMEP (selected_frame) || !FRAME_LIVE_P (XFRAME (selected_frame)) || XFRAME (selected_frame)->output_method == output_msdos_raw)) - { - f->output_method = output_msdos_raw; -#if 0 - /* This initialization of foreground and background pixels is - only important for the initial frame created in temacs. If - we don't do that, we get black background and foreground in - the dumped Emacs because the_only_display_info is a static - variable, hence it is born all-zeroes, and zero is the code - for the black color. Other frames all inherit their pixels - from what's already in the_only_display_info. */ - if ((!FRAMEP (selected_frame) || !FRAME_LIVE_P (XFRAME (selected_frame))) - && FRAME_BACKGROUND_PIXEL (f) == 0 - && FRAME_FOREGROUND_PIXEL (f) == 0) - { - FRAME_BACKGROUND_PIXEL (f) = FACE_TTY_DEFAULT_BG_COLOR; - FRAME_FOREGROUND_PIXEL (f) = FACE_TTY_DEFAULT_FG_COLOR; - } -#endif - } + f->output_method = output_msdos_raw; else f->output_method = output_termcap; #else