diff options
| author | Miles Bader | 2000-08-08 23:51:50 +0000 |
|---|---|---|
| committer | Miles Bader | 2000-08-08 23:51:50 +0000 |
| commit | 565c8641c5fd3717b99c626920ddff6575d300bd (patch) | |
| tree | 2fb79233954953abd735b44fe8950d27ddd0af50 /src | |
| parent | a0315a63997febc7cb9357514b2c787aa4a317ff (diff) | |
| download | emacs-565c8641c5fd3717b99c626920ddff6575d300bd.tar.gz emacs-565c8641c5fd3717b99c626920ddff6575d300bd.zip | |
(face_at_buffer_position): Update call to overlays_at.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xfaces.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xfaces.c b/src/xfaces.c index 9383555b434..65aa4c7f20a 100644 --- a/src/xfaces.c +++ b/src/xfaces.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* xfaces.c -- "Face" primitives. | 1 | /* xfaces.c -- "Face" primitives. |
| 2 | Copyright (C) 1993, 1994, 1998, 1999 Free Software Foundation. | 2 | Copyright (C) 1993, 1994, 1998, 1999, 2000 Free Software Foundation. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -6350,7 +6350,7 @@ face_at_buffer_position (w, pos, region_beg, region_end, | |||
| 6350 | len = 40; | 6350 | len = 40; |
| 6351 | overlay_vec = (Lisp_Object *) alloca (len * sizeof (Lisp_Object)); | 6351 | overlay_vec = (Lisp_Object *) alloca (len * sizeof (Lisp_Object)); |
| 6352 | noverlays = overlays_at (pos, 0, &overlay_vec, &len, | 6352 | noverlays = overlays_at (pos, 0, &overlay_vec, &len, |
| 6353 | &next_overlay, NULL); | 6353 | &next_overlay, NULL, 0); |
| 6354 | 6354 | ||
| 6355 | /* If there are more than 40, make enough space for all, and try | 6355 | /* If there are more than 40, make enough space for all, and try |
| 6356 | again. */ | 6356 | again. */ |
| @@ -6359,7 +6359,7 @@ face_at_buffer_position (w, pos, region_beg, region_end, | |||
| 6359 | len = noverlays; | 6359 | len = noverlays; |
| 6360 | overlay_vec = (Lisp_Object *) alloca (len * sizeof (Lisp_Object)); | 6360 | overlay_vec = (Lisp_Object *) alloca (len * sizeof (Lisp_Object)); |
| 6361 | noverlays = overlays_at (pos, 0, &overlay_vec, &len, | 6361 | noverlays = overlays_at (pos, 0, &overlay_vec, &len, |
| 6362 | &next_overlay, NULL); | 6362 | &next_overlay, NULL, 0); |
| 6363 | } | 6363 | } |
| 6364 | 6364 | ||
| 6365 | if (next_overlay < endpos) | 6365 | if (next_overlay < endpos) |