aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/msdos.c5
2 files changed, 10 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 8f8cf2b964d..dc694445027 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12000-10-21 Eli Zaretskii <eliz@is.elta.co.il>
2
3 * msdos.c (dos_set_window_size): Update screen dimension
4 variables.
5
12000-10-21 Jason Rumney <jasonr@gnu.org> 62000-10-21 Jason Rumney <jasonr@gnu.org>
2 7
3 * w32term.c (w32_cache_char_metrics): Double check that font is 8 * w32term.c (w32_cache_char_metrics): Double check that font is
diff --git a/src/msdos.c b/src/msdos.c
index 1ba98f64a56..f26ddd868a3 100644
--- a/src/msdos.c
+++ b/src/msdos.c
@@ -670,6 +670,11 @@ dos_set_window_size (rows, cols)
670 *rows = ScreenRows (); 670 *rows = ScreenRows ();
671 *cols = ScreenCols (); 671 *cols = ScreenCols ();
672 672
673 /* Update Emacs' notion of screen dimensions. */
674 screen_size_X = *cols;
675 screen_size_Y = *rows;
676 screen_size = *cols * *rows;
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)