summaryrefslogtreecommitdiff
path: root/src/quickfix.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-02 21:26:16 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-02 21:26:16 +0000
commit1d423ef75fc8bce2edfd2aab61cc9beaa63e31aa (patch)
tree6db703ecd2dc317aa69c9c03f3130002a857e4af /src/quickfix.c
parentb09feaa86ecc53b9b953710082496951776dc5c6 (diff)
downloadvim-git-1d423ef75fc8bce2edfd2aab61cc9beaa63e31aa.tar.gz
patch 8.2.3987: error messages are spread outv8.2.3987
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
Diffstat (limited to 'src/quickfix.c')
-rw-r--r--src/quickfix.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/quickfix.c b/src/quickfix.c
index 101240a44..c2747b7ad 100644
--- a/src/quickfix.c
+++ b/src/quickfix.c
@@ -187,7 +187,6 @@ static buf_T *load_dummy_buffer(char_u *fname, char_u *dirname_start, char_u *re
static void wipe_dummy_buffer(buf_T *buf, char_u *dirname_start);
static void unload_dummy_buffer(buf_T *buf, char_u *dirname_start);
static qf_info_T *ll_get_or_alloc_list(win_T *);
-static char_u *e_no_more_items = (char_u *)N_("E553: No more items");
// Quickfix window check helper macro
#define IS_QF_WINDOW(wp) (bt_quickfix(wp->w_buffer) && wp->w_llist_ref == NULL)
@@ -2733,7 +2732,7 @@ get_nth_valid_entry(
int qf_idx = qfl->qf_index;
qfline_T *prev_qf_ptr;
int prev_index;
- char_u *err = e_no_more_items;
+ char *err = e_no_more_items;
while (errornr--)
{