aboutsummaryrefslogtreecommitdiffstats
path: root/src/xselect.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xselect.c')
-rw-r--r--src/xselect.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xselect.c b/src/xselect.c
index 5a899cfa389..7a1ceaabbb0 100644
--- a/src/xselect.c
+++ b/src/xselect.c
@@ -2048,7 +2048,7 @@ lisp_data_to_selection_data (display, obj,
2048 2048
2049 /* Use sizeof(long) even if it is more than 32 bits. See comment 2049 /* Use sizeof(long) even if it is more than 32 bits. See comment
2050 in x_get_window_property and x_fill_property_data. */ 2050 in x_get_window_property and x_fill_property_data. */
2051 2051
2052 if (*format_ret == 32) data_size = sizeof(long); 2052 if (*format_ret == 32) data_size = sizeof(long);
2053 *data_ret = (unsigned char *) xmalloc (*size_ret * data_size); 2053 *data_ret = (unsigned char *) xmalloc (*size_ret * data_size);
2054 for (i = 0; i < *size_ret; i++) 2054 for (i = 0; i < *size_ret; i++)
@@ -2062,7 +2062,7 @@ lisp_data_to_selection_data (display, obj,
2062 } 2062 }
2063 else 2063 else
2064 Fsignal (Qerror, /* Qselection_error */ 2064 Fsignal (Qerror, /* Qselection_error */
2065 Fcons (build_string ("unrecognised selection data"), 2065 Fcons (build_string ("unrecognized selection data"),
2066 Fcons (obj, Qnil))); 2066 Fcons (obj, Qnil)));
2067 2067
2068 *type_ret = symbol_to_x_atom (dpyinfo, display, type); 2068 *type_ret = symbol_to_x_atom (dpyinfo, display, type);
@@ -2864,7 +2864,7 @@ are ignored. */)
2864 when sending to the root window. */ 2864 when sending to the root window. */
2865 event.xclient.window = to_root ? FRAME_OUTER_WINDOW (f) : wdest; 2865 event.xclient.window = to_root ? FRAME_OUTER_WINDOW (f) : wdest;
2866 2866
2867 2867
2868 memset (event.xclient.data.b, 0, sizeof (event.xclient.data.b)); 2868 memset (event.xclient.data.b, 0, sizeof (event.xclient.data.b));
2869 x_fill_property_data (dpyinfo->display, values, event.xclient.data.b, 2869 x_fill_property_data (dpyinfo->display, values, event.xclient.data.b,
2870 event.xclient.format); 2870 event.xclient.format);