Mercurial > vim
comparison src/popupwin.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 | 8b7f01b39d79 |
children | d413104a94c8 |
comparison
equal
deleted
inserted
replaced
26438:c725b8e17f1f | 26439:b18f3b0f317c |
---|---|
1875 if (argvars[0].v_type == VAR_NUMBER) | 1875 if (argvars[0].v_type == VAR_NUMBER) |
1876 { | 1876 { |
1877 buf = buflist_findnr(argvars[0].vval.v_number); | 1877 buf = buflist_findnr(argvars[0].vval.v_number); |
1878 if (buf == NULL) | 1878 if (buf == NULL) |
1879 { | 1879 { |
1880 semsg(_(e_nobufnr), argvars[0].vval.v_number); | 1880 semsg(_(e_buffer_nr_does_not_exist), argvars[0].vval.v_number); |
1881 return NULL; | 1881 return NULL; |
1882 } | 1882 } |
1883 #ifdef FEAT_TERMINAL | 1883 #ifdef FEAT_TERMINAL |
1884 if (buf->b_term != NULL && popup_terminal_exists()) | 1884 if (buf->b_term != NULL && popup_terminal_exists()) |
1885 { | 1885 { |