changeset 24673:ea7d8435d078

(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).
author Andrew Innes <andrewi@gnu.org>
date Sun, 02 May 1999 10:30:22 +0000
parents 8387918b52c6
children d0dee612f8e3
files src/w32select.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32select.c	Sun May 02 10:28:55 1999 +0000
+++ b/src/w32select.c	Sun May 02 10:30:22 1999 +0000
@@ -194,7 +194,7 @@
 	  (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)