Mercurial > emacs
comparison src/xfaces.c @ 9326:bcf42f7e049a
(compute_char_face): Don't use XFASTINT as an lvalue.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Tue, 04 Oct 1994 16:45:39 +0000 |
parents | a969e0eefaf5 |
children | 8e610355cb29 |
comparison
equal
deleted
inserted
replaced
9325:6f07f6dfe1ee | 9326:bcf42f7e049a |
---|---|
811 | 811 |
812 endpos = ZV; | 812 endpos = ZV; |
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; |
820 else | 820 else |
821 propname = Qface; | 821 propname = Qface; |
823 prop = Fget_text_property (position, propname, w->buffer); | 823 prop = Fget_text_property (position, propname, w->buffer); |
824 | 824 |
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); |
832 } | 832 } |
833 | 833 |