]> git.eshelyaron.com Git - emacs.git/commit
Pacify GCC 14 -Wstring-operflow in ftfont.c
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 30 Apr 2024 08:20:13 +0000 (01:20 -0700)
committerEshel Yaron <me@eshelyaron.com>
Mon, 6 May 2024 16:29:37 +0000 (18:29 +0200)
commit89f3f2cfd561d58d5166135eed91b2c7275db11b
treef3d04a6f7b1eeb98db3c852c8bbf0dbd8f83f294
parent355d211a002791f653ec8b16525430070b2cee12
Pacify GCC 14 -Wstring-operflow in ftfont.c

* src/ftfont.c (ftfont_drive_otf): Do not crash if
spec->features[i] is nonnull but is empty.
Use gfeatures local to pacify GCC 14.

(cherry picked from commit 59a11116e013fb123ba074da9bca373c1aa03367)
src/ftfont.c