Clarify intent of FACE_FROM_ID and IMAGE_FROM_ID
commit098347a9b4e16935fc2c9e08817896019e2f1879
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 24 Jun 2016 00:19:13 +0000 (24 02:19 +0200)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 24 Jun 2016 00:20:09 +0000 (24 02:20 +0200)
tree9d09260d096edefc5a98d6a0f5f130b999f1115a
parent90d0833f24be04e4b36aabda8cae1681ae768258
Clarify intent of FACE_FROM_ID and IMAGE_FROM_ID

* src/dispextern.h (FACE_OPT_FROM_ID): Don’t use FACE_FROM_ID,
since it is intended to be used only when it returns a non-null
pointer, and here the pointer might be null.
(IMAGE_OPT_FROM_ID): Don’t use IMAGE_FROM_ID, for similar reasons.
src/dispextern.h