aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorMartin Rudalics2015-11-06 12:15:18 +0100
committerMartin Rudalics2015-11-06 12:15:18 +0100
commit40014fe9fd59b3332b3bec20c6973ef324192b7a (patch)
treef59f0e5ca65b18095f1d6f87d026fd63f1fd64f4 /src/buffer.c
parent29c360ee1cb0ba68470d831739d4df33016fada1 (diff)
downloademacs-40014fe9fd59b3332b3bec20c6973ef324192b7a.tar.gz
emacs-40014fe9fd59b3332b3bec20c6973ef324192b7a.zip
Avoid division by zero crash observed by Yuan MEI.
See http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg00194.html. * src/dispnew.c (required_matrix_height, required_matrix_width): Avoid division by zero. * src/xterm.c (x_term_init): Init dpyinfo->smallest_font_height and dpyinfo->smallest_char_width to 1.
Diffstat (limited to 'src/buffer.c')
0 files changed, 0 insertions, 0 deletions