comparison src/testing.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 98a01021e465
comparison
equal deleted inserted replaced
26876:601a973ac16c 26877:06a137af96f8
431 431
432 IObuff[0] = NUL; 432 IObuff[0] = NUL;
433 fd1 = mch_fopen((char *)fname1, READBIN); 433 fd1 = mch_fopen((char *)fname1, READBIN);
434 if (fd1 == NULL) 434 if (fd1 == NULL)
435 { 435 {
436 vim_snprintf((char *)IObuff, IOSIZE, (char *)e_notread, fname1); 436 vim_snprintf((char *)IObuff, IOSIZE, (char *)e_cant_read_file_str, fname1);
437 } 437 }
438 else 438 else
439 { 439 {
440 fd2 = mch_fopen((char *)fname2, READBIN); 440 fd2 = mch_fopen((char *)fname2, READBIN);
441 if (fd2 == NULL) 441 if (fd2 == NULL)
442 { 442 {
443 fclose(fd1); 443 fclose(fd1);
444 vim_snprintf((char *)IObuff, IOSIZE, (char *)e_notread, fname2); 444 vim_snprintf((char *)IObuff, IOSIZE, (char *)e_cant_read_file_str, fname2);
445 } 445 }
446 else 446 else
447 { 447 {
448 int c1, c2; 448 int c1, c2;
449 long count = 0; 449 long count = 0;