]> git.eshelyaron.com Git - emacs.git/commit
Attempt to allocate less font entity objects in xfont_list_pattern
authorDmitry Antipov <dmantipov@yandex.ru>
Fri, 14 Nov 2014 10:40:24 +0000 (13:40 +0300)
committerDmitry Antipov <dmantipov@yandex.ru>
Fri, 14 Nov 2014 10:40:24 +0000 (13:40 +0300)
commita5cbb7d9cc072db90201dd6e7e597c424a7d015e
treef2fb93ecad8d075bf772506428fa2a29b29ee6e5
parenteb976992367d5b265dc779d82af5948987ec6de3
Attempt to allocate less font entity objects in xfont_list_pattern

* xfont.c (xfont_list_pattern): Do not allocate font entity object
for each candidate font but attempt to reuse it from previous improper
candidate, if any.
src/ChangeLog
src/xfont.c