Mercurial > vim
comparison src/os_unix.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 | a2e6da79274d |
children | caad9c0ba543 |
comparison
equal
deleted
inserted
replaced
26438:c725b8e17f1f | 26439:b18f3b0f317c |
---|---|
6795 cmdline_row = Rows - 1; // continue on last line | 6795 cmdline_row = Rows - 1; // continue on last line |
6796 #ifdef USE_SYSTEM | 6796 #ifdef USE_SYSTEM |
6797 if (!(flags & EW_SILENT)) | 6797 if (!(flags & EW_SILENT)) |
6798 #endif | 6798 #endif |
6799 { | 6799 { |
6800 msg(_(e_wildexpand)); | 6800 msg(_(e_cannot_expand_wildcards)); |
6801 msg_start(); // don't overwrite this message | 6801 msg_start(); // don't overwrite this message |
6802 } | 6802 } |
6803 } | 6803 } |
6804 // If a `cmd` expansion failed, don't list `cmd` as a match, even when | 6804 // If a `cmd` expansion failed, don't list `cmd` as a match, even when |
6805 // EW_NOTFOUND is given | 6805 // EW_NOTFOUND is given |
6815 if (fd == NULL) | 6815 if (fd == NULL) |
6816 { | 6816 { |
6817 // Something went wrong, perhaps a file name with a special char. | 6817 // Something went wrong, perhaps a file name with a special char. |
6818 if (!(flags & EW_SILENT)) | 6818 if (!(flags & EW_SILENT)) |
6819 { | 6819 { |
6820 msg(_(e_wildexpand)); | 6820 msg(_(e_cannot_expand_wildcards)); |
6821 msg_start(); // don't overwrite this message | 6821 msg_start(); // don't overwrite this message |
6822 } | 6822 } |
6823 vim_free(tempname); | 6823 vim_free(tempname); |
6824 goto notfound; | 6824 goto notfound; |
6825 } | 6825 } |