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 7e77df0d6c3..b2d47bd1175 100644
--- a/src/xselect.c
+++ b/src/xselect.c
@@ -1873,9 +1873,9 @@ selection_data_to_lisp_data (display, data, size, type, format)
1873 } 1873 }
1874 } 1874 }
1875 1875
1876 /* Convert a single 16 or small 32 bit number to a Lisp_Int. 1876 /* Convert a single 16-bit number or a small 32-bit number to a Lisp_Int.
1877 If the number is > 16 bits, convert it to a cons of integers, 1877 If the number is 32 bits and won't fit in a Lisp_Int,
1878 16 bits in each half. 1878 convert it to a cons of integers, 16 bits in each half.
1879 */ 1879 */
1880 else if (format == 32 && size == sizeof (int)) 1880 else if (format == 32 && size == sizeof (int))
1881 return long_to_cons (((unsigned int *) data) [0]); 1881 return long_to_cons (((unsigned int *) data) [0]);