Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
32729:6f56b2193ade | 32730:5d98418d7b78 |
---|---|
667 } | 667 } |
668 | 668 |
669 /* Tell the caller what dimensions have been REALLY set. */ | 669 /* Tell the caller what dimensions have been REALLY set. */ |
670 *rows = ScreenRows (); | 670 *rows = ScreenRows (); |
671 *cols = ScreenCols (); | 671 *cols = ScreenCols (); |
672 | |
673 /* Update Emacs' notion of screen dimensions. */ | |
674 screen_size_X = *cols; | |
675 screen_size_Y = *rows; | |
676 screen_size = *cols * *rows; | |
672 | 677 |
673 #if __DJGPP__ > 1 | 678 #if __DJGPP__ > 1 |
674 /* If the dimensions changed, the mouse highlight info is invalid. */ | 679 /* If the dimensions changed, the mouse highlight info is invalid. */ |
675 if (current_rows != *rows || current_cols != *cols) | 680 if (current_rows != *rows || current_cols != *cols) |
676 { | 681 { |