• Eli Zaretskii's avatar
    Avoid crashes when a fontset has strange entries · 88c6db91
    Eli Zaretskii authored
    * src/fontset.c (reorder_font_vector): Skip nil entries in the
    loop that assigns scores to rfont_def's.
    (fontset_compare_rfontdef): Cope with nil.  This has the effect of
    moving any nil entries to the end of the font-group, and avoids
    crashing if an element other than the last in the font-group is
    nil.  (Bug#39892)
    88c6db91