diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/charset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/charset.c b/src/charset.c index 4f132e974e2..3160ff9ab2a 100644 --- a/src/charset.c +++ b/src/charset.c | |||
| @@ -1104,7 +1104,7 @@ DEFUN ("chars-in-region", Fchars_in_region, Schars_in_region, 2, 2, 0, | |||
| 1104 | from = min (XFASTINT (beg), XFASTINT (end)); | 1104 | from = min (XFASTINT (beg), XFASTINT (end)); |
| 1105 | to = max (XFASTINT (beg), XFASTINT (end)); | 1105 | to = max (XFASTINT (beg), XFASTINT (end)); |
| 1106 | 1106 | ||
| 1107 | return to - from; | 1107 | return make_number (to - from); |
| 1108 | } | 1108 | } |
| 1109 | 1109 | ||
| 1110 | /* Return the number of characters in the NBYTES bytes at PTR. | 1110 | /* Return the number of characters in the NBYTES bytes at PTR. |