summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/autoload.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2013-06-03 22:28:13 +0300
committerEli Zaretskii <eliz@gnu.org>2013-06-03 22:28:13 +0300
commit9337e20653c80e332555d109b945180cf41171fa (patch)
treec8aa352b0b5eeb3d9e23ebd571ed1bfefcafb925 /lisp/emacs-lisp/autoload.el
parent7f203aa1fde2bc9ec43aa05a939525cdab149832 (diff)
downloademacs-9337e20653c80e332555d109b945180cf41171fa.tar.gz
emacs-9337e20653c80e332555d109b945180cf41171fa.tar.bz2
emacs-9337e20653c80e332555d109b945180cf41171fa.zip
Fix crashes in a text-mode session on Windows.
src/w32console.c (initialize_w32_display): Return the dimensions of the console window via 2 additional arguments, not via the current frame. This avoids crashes due to overrunning the bounds of frame's decode_mode_spec_buffer, which is not resized following the change of the frame dimensions from the initial 10x10. src/w32term.h (w32_initialize_display_info): Adjust prototype. src/term.c (init_tty): Take dimensions of the frame from the values returned by initialize_w32_display.
Diffstat (limited to 'lisp/emacs-lisp/autoload.el')
0 files changed, 0 insertions, 0 deletions