summaryrefslogtreecommitdiffstats
path: root/src/hardcopy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hardcopy.c')
-rw-r--r--src/hardcopy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hardcopy.c b/src/hardcopy.c
index 1e795e6b57..95a367d496 100644
--- a/src/hardcopy.c
+++ b/src/hardcopy.c
@@ -2751,7 +2751,7 @@ mch_print_init(psettings, jobname, forceit)
/* If the user didn't specify a file name, use a temp file. */
if (psettings->outfile == NULL)
{
- prt_ps_file_name = vim_tempname('p');
+ prt_ps_file_name = vim_tempname('p', TRUE);
if (prt_ps_file_name == NULL)
{
EMSG(_(e_notmp));