# HG changeset patch # User Andrew Innes # Date 925641022 0 # Node ID ea7d8435d0783f41d3131f144f25d6361ac71d85 # Parent 8387918b52c6a8c523f150426ab5802d76c6e3cf (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). diff -r 8387918b52c6 -r ea7d8435d078 src/w32select.c --- 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)