diff options
author | =?UTF-8?q?Dundar=20G=C3=B6c?= <gocdundar@gmail.com> | 2021-10-02 11:26:51 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-10-02 11:26:51 +0100 |
commit | dfa5e464d459f84200a73d178f1ecefe75bbe511 (patch) | |
tree | 2bf8a9283ea1bb99757758918884b9a92f2db659 /src/hardcopy.c | |
parent | 51491adfa86fd66a857cd7ec50d0b57dbdf3da59 (diff) |
patch 8.2.3460: some type casts are not neededv8.2.3460
Problem: Some type casts are not needed.
Solution: Remove unnecessary type casts. (closes #8934)
Diffstat (limited to 'src/hardcopy.c')
-rw-r--r-- | src/hardcopy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hardcopy.c b/src/hardcopy.c index 069fa43ddd..a04d5d85ac 100644 --- 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_S *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; |