changeset 94394:d1731f0f8048

(font_prop_validate): Signal `error' instead of `font'.
author Kenichi Handa <handa@m17n.org>
date Sun, 27 Apr 2008 09:06:42 +0000
parents fcd0a3bcb06c
children f020c9568544
files src/font.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/font.c	Sun Apr 27 01:41:46 2008 +0000
+++ b/src/font.c	Sun Apr 27 09:06:42 2008 +0000
@@ -543,8 +543,7 @@
 	{
 	  val = (font_property_table[i].validater) (prop, XCDR (elt));
 	  if (EQ (val, Qerror))
-	    Fsignal (Qfont, list2 (build_string ("invalid font property"),
-				   elt));
+	    signal_error ("invalid font property", elt);
 	  XSETCDR (elt, val);
 	}
     }