diff src/window.c @ 26893:79c76ca2c53c v8.2.3975

patch 8.2.3975: error messages are spread out Commit: https://github.com/vim/vim/commit/cbadefe25a27ded93548eaa7a325d2a04bf55d7c Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 1 19:33:50 2022 +0000 patch 8.2.3975: error messages are spread out Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
author Bram Moolenaar <Bram@vim.org>
date Sat, 01 Jan 2022 20:45:03 +0100
parents 7f150a4936f2
children d4e61d61afd9
line wrap: on
line diff
--- a/src/window.c
+++ b/src/window.c
@@ -774,7 +774,7 @@ check_split_disallowed()
 {
     if (split_disallowed > 0)
     {
-	emsg(_("E242: Can't split a window while closing another"));
+	emsg(_(e_cant_split_window_while_closing_another));
 	return FAIL;
     }
     if (curwin->w_buffer->b_locked_split)