Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
bed43f1d
Commit
bed43f1d
authored
Oct 21, 2000
by
Eli Zaretskii
Browse files
(dos_set_window_size): Update screen dimension variables.
parent
34939e2c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
src/ChangeLog
src/ChangeLog
+5
-0
src/msdos.c
src/msdos.c
+5
-0
No files found.
src/ChangeLog
View file @
bed43f1d
2000-10-21 Eli Zaretskii <eliz@is.elta.co.il>
* msdos.c (dos_set_window_size): Update screen dimension
variables.
2000-10-21 Jason Rumney <jasonr@gnu.org>
2000-10-21 Jason Rumney <jasonr@gnu.org>
* w32term.c (w32_cache_char_metrics): Double check that font is
* w32term.c (w32_cache_char_metrics): Double check that font is
...
...
src/msdos.c
View file @
bed43f1d
...
@@ -670,6 +670,11 @@ dos_set_window_size (rows, cols)
...
@@ -670,6 +670,11 @@ dos_set_window_size (rows, cols)
*
rows
=
ScreenRows
();
*
rows
=
ScreenRows
();
*
cols
=
ScreenCols
();
*
cols
=
ScreenCols
();
/* Update Emacs' notion of screen dimensions. */
screen_size_X
=
*
cols
;
screen_size_Y
=
*
rows
;
screen_size
=
*
cols
*
*
rows
;
#if __DJGPP__ > 1
#if __DJGPP__ > 1
/* If the dimensions changed, the mouse highlight info is invalid. */
/* If the dimensions changed, the mouse highlight info is invalid. */
if
(
current_rows
!=
*
rows
||
current_cols
!=
*
cols
)
if
(
current_rows
!=
*
rows
||
current_cols
!=
*
cols
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment