]> git.eshelyaron.com Git - emacs.git/commit
Handle unknown units provided by the rsvg library (bug#75712)
authorPip Cet <pipcet@protonmail.com>
Tue, 21 Jan 2025 18:55:01 +0000 (18:55 +0000)
committerEshel Yaron <me@eshelyaron.com>
Thu, 23 Jan 2025 10:24:49 +0000 (11:24 +0100)
commit213c75d0af69d639f7f47965242387b5d42777f2
treee911482c4184151bd8d56f3c24d46ae062dad178
parent6696283a7363acf870ed4b0b08792fbb98bb231b
Handle unknown units provided by the rsvg library (bug#75712)

* src/image.c (svg_css_length_to_pixels): Restructure so GCC warns
about new enum members.  Add case for RSVG_UNIT_CH.  Warn about
unknown units discovered at runtime.

(cherry picked from commit d7bdaa4170cd6115a6e3b4d872d8a428397fb2d8)
src/image.c