comparison src/buffer.c @ 26883:7f150a4936f2 v8.2.3970

patch 8.2.3970: error messages are spread out Commit: https://github.com/vim/vim/commit/74409f62790a93daf0965c71da01ff76aa0fa5a5 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 1 15:58:22 2022 +0000 patch 8.2.3970: error messages are spread out Problem: Error messages are spread out. Solution: Move more errors to errors.h.
author Bram Moolenaar <Bram@vim.org>
date Sat, 01 Jan 2022 17:00:04 +0100
parents 6ee19c6ae8a2
children 268f6a3511df
comparison
equal deleted inserted replaced
26882:196f4d7e2a38 26883:7f150a4936f2
1606 else 1606 else
1607 { 1607 {
1608 if (addr_count == 2) 1608 if (addr_count == 2)
1609 { 1609 {
1610 if (*arg) // both range and argument is not allowed 1610 if (*arg) // both range and argument is not allowed
1611 return ex_errmsg(e_trailing_arg, arg); 1611 return ex_errmsg(e_trailing_characters_str, arg);
1612 bnr = start_bnr; 1612 bnr = start_bnr;
1613 } 1613 }
1614 else // addr_count == 1 1614 else // addr_count == 1
1615 bnr = end_bnr; 1615 bnr = end_bnr;
1616 1616