]> code.delx.au - gnu-emacs/commit
Allow null entries in face and image cache
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 19 May 2016 15:38:55 +0000 (08:38 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 19 May 2016 15:39:20 +0000 (08:39 -0700)
commite8a28b295fabbc249c5123b58fcf2beb82f08da2
tree6b5f7de8eb459910d4bb3358962ed09c344fc1f1
parent40108979821637104d2ece39af8a27068544d3bd
Allow null entries in face and image cache

Problem reported by Tino Calancha (Bug#23580).
* src/dispextern.h (FACE_FROM_ID, IMAGE_FROM_ID):
Don’t assume that the result is non-null.
* src/xdisp.c (fill_image_glyph_string):
Restore check that image pointer is non-null.
src/dispextern.h
src/xdisp.c