Mercurial > vim
comparison src/hardcopy.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 | 336e2d9924e6 |
children | aa65d1808bd0 |
comparison
equal
deleted
inserted
replaced
26876:601a973ac16c | 26877:06a137af96f8 |
---|---|
2623 if (psettings->outfile == NULL) | 2623 if (psettings->outfile == NULL) |
2624 { | 2624 { |
2625 prt_ps_file_name = vim_tempname('p', TRUE); | 2625 prt_ps_file_name = vim_tempname('p', TRUE); |
2626 if (prt_ps_file_name == NULL) | 2626 if (prt_ps_file_name == NULL) |
2627 { | 2627 { |
2628 emsg(_(e_notmp)); | 2628 emsg(_(e_cant_get_temp_file_name)); |
2629 return FAIL; | 2629 return FAIL; |
2630 } | 2630 } |
2631 prt_ps_fd = mch_fopen((char *)prt_ps_file_name, WRITEBIN); | 2631 prt_ps_fd = mch_fopen((char *)prt_ps_file_name, WRITEBIN); |
2632 } | 2632 } |
2633 else | 2633 else |