# HG changeset patch # User Eli Zaretskii # Date 1285964304 -7200 # Node ID f2f31dc6273a12ca89ae0b3f0e6a656332d34aa1 # Parent 8973ee7a72973bbd431aa42c41b3cf334bf42636 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. diff -r 8973ee7a7297 -r f2f31dc6273a src/ChangeLog --- 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 + * 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 -r 8973ee7a7297 -r f2f31dc6273a src/term.c --- 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;