aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii <[email protected]>2010-10-01 22:18:24 +0200
committerEli Zaretskii <[email protected]>2010-10-01 22:18:24 +0200
commit0ebf79dee20548de437ddd1080f027e571d528f9 (patch)
treefdf2387d94643f8234c8e8659765e52be07d7667
parentae9cecb95ba94bf32fc1959d1550727e8ef034ab (diff)
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.
-rw-r--r--src/ChangeLog3
-rw-r--r--src/term.c3
2 files changed, 3 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index c7bdb0b2d8..e10a6a43df 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,8 @@
2010-10-01 Eli Zaretskii <[email protected]>
+ * 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)
diff --git a/src/term.c b/src/term.c
index d67056d291..4baea231de 100644
--- a/src/term.c
+++ b/src/term.c
@@ -3657,9 +3657,6 @@ use the Bourne shell command `TERM=... export TERM' (C-shell:\n\
add_keyboard_wait_descriptor (0);
- /* FIXME: this should be removed, done earlier. */
- Wcm_clear (tty);
-
tty->delete_in_insert_mode = 1;
UseTabs (tty) = 0;