Mercurial > vim
comparison src/match.c @ 26897:d02d40f0261c v8.2.3977
patch 8.2.3977: error messages are spread out
Commit: https://github.com/vim/vim/commit/9a846fbaa569b3690d70606f2a86e97f77a05496
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 1 21:59:18 2022 +0000
patch 8.2.3977: 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 23:00:04 +0100 |
parents | 612339679616 |
children | d92e0d85923f |
comparison
equal
deleted
inserted
replaced
26896:e58f8c38545d | 26897:d02d40f0261c |
---|---|
163 m->pos.pos[i].col = 0; | 163 m->pos.pos[i].col = 0; |
164 m->pos.pos[i].len = 0; | 164 m->pos.pos[i].len = 0; |
165 } | 165 } |
166 else | 166 else |
167 { | 167 { |
168 emsg(_("E290: List or number required")); | 168 emsg(_(e_list_or_number_required)); |
169 goto fail; | 169 goto fail; |
170 } | 170 } |
171 if (toplnum == 0 || lnum < toplnum) | 171 if (toplnum == 0 || lnum < toplnum) |
172 toplnum = lnum; | 172 toplnum = lnum; |
173 if (botlnum == 0 || lnum >= botlnum) | 173 if (botlnum == 0 || lnum >= botlnum) |