hardcopy: Remove unneeded prt_do_conv assignment

This commit is contained in:
ZyX
2017-04-16 20:32:10 +03:00
parent d88ae748b5
commit e3de83a829

View File

@@ -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;