]> git.eshelyaron.com Git - emacs.git/commit
Prefer `memcpy` to `strcpy` in image.c
authorStefan Kangas <stefankangas@gmail.com>
Mon, 15 Jul 2024 13:17:16 +0000 (15:17 +0200)
committerEshel Yaron <me@eshelyaron.com>
Wed, 17 Jul 2024 21:48:25 +0000 (23:48 +0200)
commitf655f8181f68786303a80d2c7690a145e1d1e2b4
tree15efe946eca2f7e244e5fefde744db200312adf2
parent5e1cd6178a327527bc7901b17714257b4e6d871f
Prefer `memcpy` to `strcpy` in image.c

* src/image.c (lookup_image, xpm_cache_color)
(imagemagick_create_cache): Prefer 'memcpy' to 'strcpy'.

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