From b09feaa86ecc53b9b953710082496951776dc5c6 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 2 Jan 2022 20:20:45 +0000 Subject: patch 8.2.3986: error messages are spread out Problem: Error messages are spread out. Solution: Move more error messages to errors.h. --- src/fileio.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/fileio.c') diff --git a/src/fileio.c b/src/fileio.c index 01953d9827..7390309857 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -4385,8 +4385,7 @@ buf_reload(buf_T *buf, int orig_mode) if (savebuf == NULL || saved == FAIL || buf != curbuf || move_lines(buf, savebuf) == FAIL) { - semsg(_("E462: Could not prepare for reloading \"%s\""), - buf->b_fname); + semsg(_(e_could_not_prepare_for_reloading_str), buf->b_fname); saved = FAIL; } } -- cgit v1.2.3