comparison src/fileio.c @ 26877:06a137af96f8 v8.2.3967

patch 8.2.3967: error messages are spread out Commit: https://github.com/vim/vim/commit/460ae5dfca31fa627531c263184849976755cf6b Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 1 14:19:49 2022 +0000 patch 8.2.3967: error messages are spread out Problem: Error messages are spread out. Solution: Move more errors to errors.h.
author Bram Moolenaar <Bram@vim.org>
date Sat, 01 Jan 2022 15:30:05 +0100
parents bce848ec8b1b
children 79c76ca2c53c
comparison
equal deleted inserted replaced
26876:601a973ac16c 26877:06a137af96f8
4807 hFind = FindFirstFileW(wn, &wfd); 4807 hFind = FindFirstFileW(wn, &wfd);
4808 ok = (hFind != INVALID_HANDLE_VALUE); 4808 ok = (hFind != INVALID_HANDLE_VALUE);
4809 if (!ok) 4809 if (!ok)
4810 { 4810 {
4811 failed = TRUE; 4811 failed = TRUE;
4812 semsg(_(e_notopen), path); 4812 semsg(_(e_cant_open_file_str), path);
4813 } 4813 }
4814 else 4814 else
4815 { 4815 {
4816 while (ok) 4816 while (ok)
4817 { 4817 {
4877 # else // MSWIN 4877 # else // MSWIN
4878 dirp = opendir((char *)path); 4878 dirp = opendir((char *)path);
4879 if (dirp == NULL) 4879 if (dirp == NULL)
4880 { 4880 {
4881 failed = TRUE; 4881 failed = TRUE;
4882 semsg(_(e_notopen), path); 4882 semsg(_(e_cant_open_file_str), path);
4883 } 4883 }
4884 else 4884 else
4885 { 4885 {
4886 for (;;) 4886 for (;;)
4887 { 4887 {