forked from aniani/vim
patch 8.2.3460: some type casts are not needed
Problem: Some type casts are not needed. Solution: Remove unnecessary type casts. (closes #8934)
This commit is contained in:
committed by
Bram Moolenaar
parent
51491adfa8
commit
dfa5e464d4
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user