mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 14:08:32 +00:00
hardcopy: Remove unneeded prt_do_conv assignment
This commit is contained in:
@@ -2576,13 +2576,12 @@ int mch_print_begin(prt_settings_T *psettings)
|
|||||||
|
|
||||||
prt_conv.vc_type = CONV_NONE;
|
prt_conv.vc_type = CONV_NONE;
|
||||||
if (!(enc_canon_props(p_enc) & enc_canon_props(p_encoding) & ENC_8BIT)) {
|
if (!(enc_canon_props(p_enc) & enc_canon_props(p_encoding) & ENC_8BIT)) {
|
||||||
/* Set up encoding conversion if required */
|
// Set up encoding conversion if required
|
||||||
if (FAIL == convert_setup(&prt_conv, p_enc, p_encoding)) {
|
if (convert_setup(&prt_conv, p_enc, p_encoding) == FAIL) {
|
||||||
EMSG2(_("E620: Unable to convert to print encoding \"%s\""),
|
emsgf(_("E620: Unable to convert to print encoding \"%s\""),
|
||||||
p_encoding);
|
p_encoding);
|
||||||
return FALSE;
|
return false;
|
||||||
}
|
}
|
||||||
prt_do_conv = TRUE;
|
|
||||||
}
|
}
|
||||||
prt_do_conv = prt_conv.vc_type != CONV_NONE;
|
prt_do_conv = prt_conv.vc_type != CONV_NONE;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user