Mercurial > emacs
diff src/msdos.c @ 32730:5d98418d7b78
(dos_set_window_size): Update screen dimension variables.
| author | Eli Zaretskii <eliz@gnu.org> |
|---|---|
| date | Sat, 21 Oct 2000 18:12:04 +0000 |
| parents | 9672c4db6bed |
| children | eccf7d43bead |
line wrap: on
line diff
--- a/src/msdos.c Sat Oct 21 18:06:17 2000 +0000 +++ b/src/msdos.c Sat Oct 21 18:12:04 2000 +0000 @@ -670,6 +670,11 @@ *rows = ScreenRows (); *cols = ScreenCols (); + /* Update Emacs' notion of screen dimensions. */ + screen_size_X = *cols; + screen_size_Y = *rows; + screen_size = *cols * *rows; + #if __DJGPP__ > 1 /* If the dimensions changed, the mouse highlight info is invalid. */ if (current_rows != *rows || current_cols != *cols)
