changeset 110688:f2f31dc6273a

Fix initial frame dimensions on MS-DOS. term.c (init_tty) [DOS_NT]: Don't call Wcm_clear after setting screen dimensions in tty->Wcm.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 01 Oct 2010 22:18:24 +0200
parents 8973ee7a7297
children 42815c76b976
files src/ChangeLog src/term.c
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Fri Oct 01 21:20:29 2010 +0200
+++ b/src/ChangeLog	Fri Oct 01 22:18:24 2010 +0200
@@ -1,5 +1,8 @@
 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
 
+	* term.c (init_tty) [DOS_NT]: Don't call Wcm_clear after setting
+	screen dimensions in tty->Wcm.
+
 	* xdisp.c (set_cursor_from_row): When the row is truncated and
 	point is outside the range of displayed characters, position the
 	cursor inside the scroll margin.  (Bug#6349)
--- a/src/term.c	Fri Oct 01 21:20:29 2010 +0200
+++ b/src/term.c	Fri Oct 01 22:18:24 2010 +0200
@@ -3657,9 +3657,6 @@
 
   add_keyboard_wait_descriptor (0);
 
-  /* FIXME: this should be removed,  done earlier. */
-  Wcm_clear (tty);
-
   tty->delete_in_insert_mode = 1;
 
   UseTabs (tty) = 0;