]> git.eshelyaron.com Git - emacs.git/commit
Fix unlikely eassert failure in xg_set_widget_bg
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 27 Jan 2025 06:15:50 +0000 (22:15 -0800)
committerEshel Yaron <me@eshelyaron.com>
Thu, 30 Jan 2025 18:07:13 +0000 (19:07 +0100)
commitfa195408db283421110eac30298dfbcbcff7ca14
treeffd287c5ff5f439f7ae7d52d9cb57aad7ad03152
parent3a6ccfd335418efb614ec2145d7c75ada89d80cf
Fix unlikely eassert failure in xg_set_widget_bg

* src/gtkutil.c (xg_set_widget_bg): Simplify by using
sprintf with a big-enough buffer.

(cherry picked from commit f809302fe5543e20ff7f06a81c263fd29f3ff995)
src/gtkutil.c