summaryrefslogtreecommitdiff
path: root/src/dispnew.c
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2013-10-11 15:11:28 +0400
committerDmitry Antipov <dmantipov@yandex.ru>2013-10-11 15:11:28 +0400
commit7d563e363c72828b9b1bbb0181be6a36643ce7af (patch)
tree2dbd4337e1be6482b9fd653af530ae65009f764d /src/dispnew.c
parent48621e69064ea74eef6530d299cdc3548e170ce2 (diff)
* dispnew.c (redraw_frame): Remove useless #ifdef because
FRAME_MSDOS_P is a compile-time zero everywhere except MS-DOS. Also, move TTY fflush to... * term.c (tty_update_end): ...this function.
Diffstat (limited to 'src/dispnew.c')
-rw-r--r--src/dispnew.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index e3a1c1b49c..d01de18533 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -2937,15 +2937,11 @@ redraw_frame (struct frame *f)
/* Error if F has no glyphs. */
eassert (f->glyphs_initialized_p);
update_begin (f);
-#ifdef MSDOS
if (FRAME_MSDOS_P (f))
FRAME_TERMINAL (f)->set_terminal_modes_hook (FRAME_TERMINAL (f));
-#endif
clear_frame (f);
clear_current_matrices (f);
update_end (f);
- if (FRAME_TERMCAP_P (f))
- fflush (FRAME_TTY (f)->output);
windows_or_buffers_changed++;
/* Mark all windows as inaccurate, so that every window will have
its redisplay done. */