diff options
| author | Richard M. Stallman | 1993-08-11 04:51:08 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-08-11 04:51:08 +0000 |
| commit | 018cfa07566679b9335a99ac32217386cb5fd95a (patch) | |
| tree | ba4c83eea7906fd24dae3c66d19f685ee654c941 /src | |
| parent | 806f25b218550af98322fefbf3786bdfe45e6ef2 (diff) | |
| download | emacs-018cfa07566679b9335a99ac32217386cb5fd95a.tar.gz emacs-018cfa07566679b9335a99ac32217386cb5fd95a.zip | |
(receive_incremental_selection): Use bcopy, not memcpy.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xselect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xselect.c b/src/xselect.c index b0675a63f0d..9f083b8b1a7 100644 --- a/src/xselect.c +++ b/src/xselect.c | |||
| @@ -1167,7 +1167,7 @@ receive_incremental_selection (display, window, property, target_type, | |||
| 1167 | *size_bytes_ret = offset + tmp_size_bytes; | 1167 | *size_bytes_ret = offset + tmp_size_bytes; |
| 1168 | *data_ret = (unsigned char *) xrealloc (*data_ret, *size_bytes_ret); | 1168 | *data_ret = (unsigned char *) xrealloc (*data_ret, *size_bytes_ret); |
| 1169 | } | 1169 | } |
| 1170 | memcpy ((*data_ret) + offset, tmp_data, tmp_size_bytes); | 1170 | bcopy (tmp_data, (*data_ret) + offset, tmp_size_bytes); |
| 1171 | offset += tmp_size_bytes; | 1171 | offset += tmp_size_bytes; |
| 1172 | xfree (tmp_data); | 1172 | xfree (tmp_data); |
| 1173 | } | 1173 | } |