diff options
| author | Andrew Innes | 1999-05-02 10:30:22 +0000 |
|---|---|---|
| committer | Andrew Innes | 1999-05-02 10:30:22 +0000 |
| commit | 43df7d0b43a076687570eeabbcca97c6220a78e3 (patch) | |
| tree | 7f14616cec1313d7962f9094ead921a41fb9c46b /src | |
| parent | 49fb6381cae006086974b6c3fa6d03bf52935d8b (diff) | |
| download | emacs-43df7d0b43a076687570eeabbcca97c6220a78e3.tar.gz emacs-43df7d0b43a076687570eeabbcca97c6220a78e3.zip | |
(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')
| -rw-r--r-- | src/w32select.c | 2 |
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 | |||
| 194 | (Fcheck_coding_system (Vnext_selection_coding_system), &coding); | 194 | (Fcheck_coding_system (Vnext_selection_coding_system), &coding); |
| 195 | Vnext_selection_coding_system = Qnil; | 195 | Vnext_selection_coding_system = Qnil; |
| 196 | coding.mode |= CODING_MODE_LAST_BLOCK; | 196 | coding.mode |= CODING_MODE_LAST_BLOCK; |
| 197 | bufsize = encoding_buffer_size (&coding, nbytes) + nlines; | 197 | bufsize = encoding_buffer_size (&coding, nbytes); |
| 198 | if ((htext = GlobalAlloc (GMEM_MOVEABLE | GMEM_DDESHARE, bufsize)) == NULL) | 198 | if ((htext = GlobalAlloc (GMEM_MOVEABLE | GMEM_DDESHARE, bufsize)) == NULL) |
| 199 | goto error; | 199 | goto error; |
| 200 | if ((dst = (unsigned char *) GlobalLock (htext)) == NULL) | 200 | if ((dst = (unsigned char *) GlobalLock (htext)) == NULL) |