diff --git a/src/glyphs.c b/src/glyphs.c index 14cf57e3f..20b278c9f 100644 --- a/src/glyphs.c +++ b/src/glyphs.c @@ -63,12 +63,12 @@ to_custom_symset_entry_callback(int glyph, struct find_struct *findwhat) if (findwhat->unicode_val) uval = unicode_val(findwhat->unicode_val); if (uval && unicodeval_to_utf8str(uval, utf8str, sizeof utf8str)) { - add_custom_urep_entry(gs.symset->name, glyph, uval, utf8str, + add_custom_urep_entry(gs.symset[gs.symset_which_set].name, glyph, uval, utf8str, gs.symset_which_set); } #endif if (findwhat->color) { - add_custom_nhcolor_entry(gs.symset->name, glyph, findwhat->color, + add_custom_nhcolor_entry(gs.symset[gs.symset_which_set].name, glyph, findwhat->color, gs.symset_which_set); } }