• Eli Zaretskii's avatar
    Fix crashes in a text-mode session on Windows. · 9337e206
    Eli Zaretskii authored
     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.
    9337e206
ChangeLog 956 KB