Mercurial > emacs
view etc/nxml/03190-0319F.el @ 103359:eb941fcd33b4
x-load-color-file: avoid array bounds error
x-load-color-file expects each line of input to be of the form
"R G B name". But if "name" is missing, it would read name[-1],
and if that value is '\n', zero it.
* xfaces.c (Fx_load_color_file): Handle missing color name.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Tue, 09 Jun 2009 05:57:35 +0000 |
parents | 543b7ec8c4b7 |
children | ef719132ddfa |
line wrap: on
line source
(nxml-define-char-name-set 'kanbun '(("IDEOGRAPHIC ANNOTATION LINKING MARK" #x3190) ("IDEOGRAPHIC ANNOTATION REVERSE MARK" #x3191) ("IDEOGRAPHIC ANNOTATION ONE MARK" #x3192) ("IDEOGRAPHIC ANNOTATION TWO MARK" #x3193) ("IDEOGRAPHIC ANNOTATION THREE MARK" #x3194) ("IDEOGRAPHIC ANNOTATION FOUR MARK" #x3195) ("IDEOGRAPHIC ANNOTATION TOP MARK" #x3196) ("IDEOGRAPHIC ANNOTATION MIDDLE MARK" #x3197) ("IDEOGRAPHIC ANNOTATION BOTTOM MARK" #x3198) ("IDEOGRAPHIC ANNOTATION FIRST MARK" #x3199) ("IDEOGRAPHIC ANNOTATION SECOND MARK" #x319A) ("IDEOGRAPHIC ANNOTATION THIRD MARK" #x319B) ("IDEOGRAPHIC ANNOTATION FOURTH MARK" #x319C) ("IDEOGRAPHIC ANNOTATION HEAVEN MARK" #x319D) ("IDEOGRAPHIC ANNOTATION EARTH MARK" #x319E) ("IDEOGRAPHIC ANNOTATION MAN MARK" #x319F) )) ;; arch-tag: e25f7331-0993-4daf-a193-0fe56332f9fa