]> git.eshelyaron.com Git - emacs.git/commit
Realloc less often in adjust_glyph_matrix (bug#77961)
authorGerd Möllmann <gerd.moellmann@gmail.com>
Tue, 22 Apr 2025 09:35:12 +0000 (11:35 +0200)
committerEshel Yaron <me@eshelyaron.com>
Tue, 22 Apr 2025 17:57:24 +0000 (19:57 +0200)
commit3330c9979afdf9700b6220508b5f1372fa14bde2
tree9ce485326a04af1b081e332668e2802ec170cc40
parentab79f2f72dd0e72fbf17777400fd05969c1b144d
Realloc less often in adjust_glyph_matrix (bug#77961)

* src/dispnew.c (adjust_glyph_matrix): Only xnrealloc when the
glyph matrix got wider or taller.

(cherry picked from commit 871ec9615a949e967bf7d19466eb9c56ed80ff7e)
src/dispnew.c