Mercurial > vim
diff src/hardcopy.c @ 25852:336e2d9924e6 v8.2.3460
patch 8.2.3460: some type casts are not needed
Commit: https://github.com/vim/vim/commit/dfa5e464d459f84200a73d178f1ecefe75bbe511
Author: =?UTF-8?q?Dundar=20G=C3=B6c?= <gocdundar@gmail.com>
Date: Sat Oct 2 11:26:51 2021 +0100
patch 8.2.3460: some type casts are not needed
Problem: Some type casts are not needed.
Solution: Remove unnecessary type casts. (closes https://github.com/vim/vim/issues/8934)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 02 Oct 2021 12:30:05 +0200 |
parents | 7334bf933510 |
children | 06a137af96f8 |
line wrap: on
line diff
--- a/src/hardcopy.c +++ b/src/hardcopy.c @@ -588,7 +588,7 @@ ex_hardcopy(exarg_T *eap) */ if (mch_print_init(&settings, curbuf->b_fname == NULL - ? (char_u *)buf_spname(curbuf) + ? buf_spname(curbuf) : curbuf->b_sfname == NULL ? curbuf->b_fname : curbuf->b_sfname, @@ -1931,7 +1931,7 @@ prt_open_resource(struct prt_ps_resource break; case PRT_DSC_ENDCOMMENTS_TYPE: - // Wont find title or resource after this comment, stop searching + // Won't find title or resource after this comment, stop searching seen_all = TRUE; break;