]> git.eshelyaron.com Git - emacs.git/commit
Minor format_string tuneup
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:11 +0000 (19:07 +0100)
commit7d887720cca88a4af6105230980f0a17be3b714d
tree635aa7b851b05ad51427656f9d209b5350530239
parent681730131d35c754490098f421f1da8f40445a97
Minor format_string tuneup

* src/comp.c (format_string): Prefer strcpy to doing things by hand
in a place where strcpy is easier to read, generates
more-efficient code, and similar parts of Emacs do strcpy.

(cherry picked from commit f8b8dddce90f5cbf6ca0be2e72b4e11cdcf581fe)
src/comp.c