diff options
author | Eli Zaretskii <eliz@gnu.org> | 1999-02-03 16:40:32 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 1999-02-03 16:40:32 +0000 |
commit | ba92a4701a77f7e152583b18693055d84949887a (patch) | |
tree | 680aa764cd714b336a4d758efa08a3791c6c4173 /src/w16select.c | |
parent | c7594627811730e51bc030042af9b109e2582707 (diff) | |
download | emacs-ba92a4701a77f7e152583b18693055d84949887a.tar.gz |
Fix last change.
Diffstat (limited to 'src/w16select.c')
-rw-r--r-- | src/w16select.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/w16select.c b/src/w16select.c index a5b188df19b..a6491a18dcc 100644 --- a/src/w16select.c +++ b/src/w16select.c @@ -475,7 +475,6 @@ DEFUN ("w16-set-clipboard-data", Fw16_set_clipboard_data, Sw16_set_clipboard_dat /* 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 { @@ -497,6 +496,7 @@ DEFUN ("w16-set-clipboard-data", Fw16_set_clipboard_data, Sw16_set_clipboard_dat encode_coding (&coding, src, dst, nbytes, bufsize); no_crlf_conversion = 1; nbytes = coding.produced; + src = dst; } if (!open_clipboard ()) @@ -504,7 +504,7 @@ DEFUN ("w16-set-clipboard-data", Fw16_set_clipboard_data, Sw16_set_clipboard_dat 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) |