comparison src/xfaces.c @ 63705:9e649a045c18

(x_supports_face_attributes_p): Follow error conventions.
author Juanma Barranquero <lekktu@gmail.com>
date Thu, 23 Jun 2005 16:18:01 +0000
parents 144440a09db1
children a8fa7c632ee4 d07fdd5d7d4e b7da78284d4c
comparison
equal deleted inserted replaced
63704:426ba3ecedd7 63705:9e649a045c18
5910 merge_face_vectors (f, attrs, merged_attrs, 0); 5910 merge_face_vectors (f, attrs, merged_attrs, 0);
5911 5911
5912 face = FACE_FROM_ID (f, lookup_face (f, merged_attrs, 0, 0)); 5912 face = FACE_FROM_ID (f, lookup_face (f, merged_attrs, 0, 0));
5913 5913
5914 if (! face) 5914 if (! face)
5915 error ("cannot make face"); 5915 error ("Cannot make face");
5916 5916
5917 /* If the font is the same, then not supported. */ 5917 /* If the font is the same, then not supported. */
5918 if (face->font == def_face->font) 5918 if (face->font == def_face->font)
5919 return 0; 5919 return 0;
5920 } 5920 }