• Paul Eggert's avatar
    Catch duplicate keywords in image specs · 3502d4c1
    Paul Eggert authored
    * src/image.c (struct image_keyword.count): Now bool, not int,
    since it is either 0 or 1.
    (parse_image_spec, xpm_image_p): Use bool for boolean.
    (parse_image_spec): Fix a bug introduced in
    2011-09-21T17:41:20!eggert@cs.ucla.edu that reported only
    triplicate (or more) keywords, not duplicates.
    3502d4c1
image.c 279 KB