comparison src/fileio.c @ 20828:db18625d8134 v8.2.0966

patch 8.2.0966: 'shortmess' flag "n" not used in two places Commit: https://github.com/vim/vim/commit/722e505d1a55dfde5ab62241d10da91d2e10c3c1 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jun 12 22:31:00 2020 +0200 patch 8.2.0966: 'shortmess' flag "n" not used in two places Problem: 'shortmess' flag "n" not used in two places. Solution: Make use of the "n" flag consistent. (Nick Jensen, closes https://github.com/vim/vim/issues/6245, closes #6244)
author Bram Moolenaar <Bram@vim.org>
date Fri, 12 Jun 2020 22:45:04 +0200
parents 5a9c42c6a69e
children 9064044fd4f6
comparison
equal deleted inserted replaced
20827:0b2d6030068c 20828:db18625d8134
504 emsg(_(e_auchangedbuf)); 504 emsg(_(e_auchangedbuf));
505 return FAIL; 505 return FAIL;
506 } 506 }
507 } 507 }
508 if (dir_of_file_exists(fname)) 508 if (dir_of_file_exists(fname))
509 filemess(curbuf, sfname, (char_u *)_("[New File]"), 0); 509 filemess(curbuf, sfname,
510 (char_u *)new_file_message(), 0);
510 else 511 else
511 filemess(curbuf, sfname, 512 filemess(curbuf, sfname,
512 (char_u *)_("[New DIRECTORY]"), 0); 513 (char_u *)_("[New DIRECTORY]"), 0);
513 #ifdef FEAT_VIMINFO 514 #ifdef FEAT_VIMINFO
514 // Even though this is a new file, it might have been 515 // Even though this is a new file, it might have been