diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xfaces.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xfaces.c b/src/xfaces.c index cbbc1eb26f8..a96085ee2ba 100644 --- a/src/xfaces.c +++ b/src/xfaces.c | |||
| @@ -813,7 +813,7 @@ compute_char_face (f, w, pos, region_beg, region_end, endptr, limit, mouse) | |||
| 813 | if (pos < region_beg && region_beg < endpos) | 813 | if (pos < region_beg && region_beg < endpos) |
| 814 | endpos = region_beg; | 814 | endpos = region_beg; |
| 815 | 815 | ||
| 816 | XFASTINT (position) = pos; | 816 | XSETFASTINT (position, pos); |
| 817 | 817 | ||
| 818 | if (mouse) | 818 | if (mouse) |
| 819 | propname = Qmouse_face; | 819 | propname = Qmouse_face; |
| @@ -825,7 +825,7 @@ compute_char_face (f, w, pos, region_beg, region_end, endptr, limit, mouse) | |||
| 825 | { | 825 | { |
| 826 | Lisp_Object limit1, end; | 826 | Lisp_Object limit1, end; |
| 827 | 827 | ||
| 828 | XFASTINT (limit1) = (limit < endpos ? limit : endpos); | 828 | XSETFASTINT (limit1, (limit < endpos ? limit : endpos)); |
| 829 | end = Fnext_single_property_change (position, propname, w->buffer, limit1); | 829 | end = Fnext_single_property_change (position, propname, w->buffer, limit1); |
| 830 | if (INTEGERP (end)) | 830 | if (INTEGERP (end)) |
| 831 | endpos = XINT (end); | 831 | endpos = XINT (end); |