/* No multibyte character in OBJ. We need not encode it, but we
will have to convert it to DOS CR-LF style. */
no_crlf_conversion = 0;
- dst = src;
}
else
{
encode_coding (&coding, src, dst, nbytes, bufsize);
no_crlf_conversion = 1;
nbytes = coding.produced;
+ src = dst;
}
if (!open_clipboard ())
ok = empty_clipboard ()
&& ((put_status
- = set_clipboard_data (CF_OEMTEXT, dst, nbytes, no_crlf_conversion))
+ = set_clipboard_data (CF_OEMTEXT, src, nbytes, no_crlf_conversion))
== 0);
if (!no_crlf_conversion)