summaryrefslogtreecommitdiffstats
path: root/src/memline.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-01 21:59:18 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-01 21:59:18 +0000
commit9a846fbaa569b3690d70606f2a86e97f77a05496 (patch)
treecbe5304927fe21586593c94342e4f023aa3e0837 /src/memline.c
parentb34689010a587e85ff724051f276513a15c634d0 (diff)
patch 8.2.3977: error messages are spread outv8.2.3977
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
Diffstat (limited to 'src/memline.c')
-rw-r--r--src/memline.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/memline.c b/src/memline.c
index a072746463..a4485c882d 100644
--- a/src/memline.c
+++ b/src/memline.c
@@ -327,7 +327,7 @@ ml_open(buf_T *buf)
goto error;
if (hp->bh_bnum != 0)
{
- iemsg(_("E298: Didn't get block nr 0?"));
+ iemsg(_(e_didnt_get_block_nr_zero));
goto error;
}
b0p = (ZERO_BL *)(hp->bh_data);
@@ -377,7 +377,7 @@ ml_open(buf_T *buf)
goto error;
if (hp->bh_bnum != 1)
{
- iemsg(_("E298: Didn't get block nr 1?"));
+ iemsg(_(e_didnt_get_block_nr_one));
goto error;
}
pp = (PTR_BL *)(hp->bh_data);
@@ -395,7 +395,7 @@ ml_open(buf_T *buf)
goto error;
if (hp->bh_bnum != 2)
{
- iemsg(_("E298: Didn't get block nr 2?"));
+ iemsg(_(e_didnt_get_block_nr_two));
goto error;
}