summaryrefslogtreecommitdiff
path: root/src/w32select.c
diff options
context:
space:
mode:
authorAndrew Innes <andrewi@gnu.org>1999-05-02 10:30:22 +0000
committerAndrew Innes <andrewi@gnu.org>1999-05-02 10:30:22 +0000
commit43df7d0b43a076687570eeabbcca97c6220a78e3 (patch)
tree7f14616cec1313d7962f9094ead921a41fb9c46b /src/w32select.c
parent49fb6381cae006086974b6c3fa6d03bf52935d8b (diff)
downloademacs-43df7d0b43a076687570eeabbcca97c6220a78e3.tar.gz
(Fw32_set_clipboard_data): Undo last change to add
nlines to encoding_buffer_size (real bug was in a ccl program in lisp/international/coding.el).
Diffstat (limited to 'src/w32select.c')
-rw-r--r--src/w32select.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/w32select.c b/src/w32select.c
index cb506aefb42..65db0b5458e 100644
--- a/src/w32select.c
+++ b/src/w32select.c
@@ -194,7 +194,7 @@ DEFUN ("w32-set-clipboard-data", Fw32_set_clipboard_data, Sw32_set_clipboard_dat
(Fcheck_coding_system (Vnext_selection_coding_system), &coding);
Vnext_selection_coding_system = Qnil;
coding.mode |= CODING_MODE_LAST_BLOCK;
- bufsize = encoding_buffer_size (&coding, nbytes) + nlines;
+ bufsize = encoding_buffer_size (&coding, nbytes);
if ((htext = GlobalAlloc (GMEM_MOVEABLE | GMEM_DDESHARE, bufsize)) == NULL)
goto error;
if ((dst = (unsigned char *) GlobalLock (htext)) == NULL)