changeset 94964:5ffc88767cc1

(font_prop_validate): Make nil a valid value.
author Kenichi Handa <handa@m17n.org>
date Wed, 14 May 2008 10:38:27 +0000
parents 8971ddf55736
children cd732f476c68
files src/font.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/font.c	Wed May 14 07:50:26 2008 +0000
+++ b/src/font.c	Wed May 14 10:38:27 2008 +0000
@@ -566,6 +566,8 @@
 {
   Lisp_Object validated;
 
+  if (NILP (val))
+    return val;
   if (NILP (prop))
     prop = *font_property_table[idx].key;
   else