From 43df7d0b43a076687570eeabbcca97c6220a78e3 Mon Sep 17 00:00:00 2001 From: Andrew Innes Date: Sun, 2 May 1999 10:30:22 +0000 Subject: [PATCH] (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). --- src/w32select.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2