comparison src/register.c @ 26439:b18f3b0f317c v8.2.3750

patch 8.2.3750: error messages are everywhere Commit: https://github.com/vim/vim/commit/40bcec1bac34d34a3d4d7c5f6b2cc1f163acbd00 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Dec 5 22:19:27 2021 +0000 patch 8.2.3750: error messages are everywhere Problem: Error messages are everywhere. Solution: Move more error messages to errors.h and adjust the names.
author Bram Moolenaar <Bram@vim.org>
date Sun, 05 Dec 2021 23:30:05 +0100
parents d742cb67b260
children 34f1b7d6974a
comparison
equal deleted inserted replaced
26438:c725b8e17f1f 26439:b18f3b0f317c
2834 { 2834 {
2835 int num = atoi((char *)str); 2835 int num = atoi((char *)str);
2836 2836
2837 buf = buflist_findnr(num); 2837 buf = buflist_findnr(num);
2838 if (buf == NULL) 2838 if (buf == NULL)
2839 semsg(_(e_nobufnr), (long)num); 2839 semsg(_(e_buffer_nr_does_not_exist), (long)num);
2840 } 2840 }
2841 else 2841 else
2842 buf = buflist_findnr(buflist_findpat(str, str + STRLEN(str), 2842 buf = buflist_findnr(buflist_findpat(str, str + STRLEN(str),
2843 TRUE, FALSE, FALSE)); 2843 TRUE, FALSE, FALSE));
2844 if (buf == NULL) 2844 if (buf == NULL)