diff options
author | ZyX <kp-pav@yandex.ru> | 2016-03-20 21:31:49 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2016-04-18 02:48:20 +0300 |
commit | 494b1c9beef3755916048df29755d3d014902191 (patch) | |
tree | c3f180985580b4ec4ec9f319fa8362cfec66e721 /src/nvim/hardcopy.c | |
parent | 9af400f97916851ecd86975118faea2a8c68598f (diff) | |
download | rneovim-494b1c9beef3755916048df29755d3d014902191.tar.gz rneovim-494b1c9beef3755916048df29755d3d014902191.tar.bz2 rneovim-494b1c9beef3755916048df29755d3d014902191.zip |
*: Make set_vim_var_\* functions have proper argument types
Diffstat (limited to 'src/nvim/hardcopy.c')
-rw-r--r-- | src/nvim/hardcopy.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/nvim/hardcopy.c b/src/nvim/hardcopy.c index ab8959239b..cc49bcd074 100644 --- a/src/nvim/hardcopy.c +++ b/src/nvim/hardcopy.c @@ -2780,11 +2780,13 @@ void mch_print_end(prt_settings_T *psettings) } prt_message((char_u *)_("Sending to printer...")); - /* Not printing to a file: use 'printexpr' to print the file. */ - if (eval_printexpr(prt_ps_file_name, psettings->arguments) == FAIL) + // Not printing to a file: use 'printexpr' to print the file. + if (eval_printexpr((char *) prt_ps_file_name, (char *) psettings->arguments) + == FAIL) { EMSG(_("E365: Failed to print PostScript file")); - else + } else { prt_message((char_u *)_("Print job sent.")); + } } mch_print_cleanup(); |