aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/w32console.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/w32console.c b/src/w32console.c
index 635e01aba67..687203025fd 100644
--- a/src/w32console.c
+++ b/src/w32console.c
@@ -571,13 +571,13 @@ initialize_w32_display (void)
571 char_attr = info.wAttributes & 0xFF; 571 char_attr = info.wAttributes & 0xFF;
572 char_attr_normal = char_attr; 572 char_attr_normal = char_attr;
573 char_attr_reverse = ((char_attr & 0xf) << 4) + ((char_attr & 0xf0) >> 4); 573 char_attr_reverse = ((char_attr & 0xf) << 4) + ((char_attr & 0xf0) >> 4);
574 574
575 FRAME_HEIGHT (selected_frame) = info.dwSize.Y; /* lines per page */ 575 /* Lines per page. Use buffer coords instead of buffer size. */
576 SET_FRAME_WIDTH (selected_frame, info.dwSize.X); /* characters per line */ 576 FRAME_HEIGHT (selected_frame) = 1 + info.srWindow.Bottom -
577 577 info.srWindow.Top;
578// move_cursor (0, 0); 578 /* Characters per line. Use buffer coords instead of buffer size. */
579 579 SET_FRAME_WIDTH (selected_frame, 1 + info.srWindow.Right -
580// clear_frame (); 580 info.srWindow.Left);
581} 581}
582 582
583DEFUN ("set-screen-color", Fset_screen_color, Sset_screen_color, 2, 2, 0, 583DEFUN ("set-screen-color", Fset_screen_color, Sset_screen_color, 2, 2, 0,