hardcopy: fix pvs/v1048

This commit is contained in:
Jan Edmund Lazo
2019-12-25 06:52:34 -05:00
parent 362c3a3ccf
commit 0be59d2b5e

View File

@@ -2305,13 +2305,10 @@ int mch_print_init(prt_settings_T *psettings, char_u *jobname, int forceit)
|| TOLOWER_ASC(printer_opts[OPT_PRINT_COLLATE].string[0]) == || TOLOWER_ASC(printer_opts[OPT_PRINT_COLLATE].string[0]) ==
'y'); 'y');
if (prt_collate) { if (prt_collate) {
/* TODO: Get number of collated copies wanted. */ // TODO(vim): Get number of collated copies wanted.
psettings->n_collated_copies = 1;
} else { } else {
/* TODO: Get number of uncollated copies wanted and update the cached // TODO(vim): Get number of uncollated copies wanted and update the cached
* count. // count.
*/
prt_num_copies = 1;
} }
psettings->jobname = jobname; psettings->jobname = jobname;