mirror of
https://github.com/neovim/neovim.git
synced 2025-10-02 07:58:35 +00:00
hardcopy: fix pvs/v1048
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user