diff options
| author | Joakim Verona | 2012-08-01 13:16:20 +0200 |
|---|---|---|
| committer | Joakim Verona | 2012-08-01 13:16:20 +0200 |
| commit | 610ba6f8ddf2298849cad522b6952bc694f0e63f (patch) | |
| tree | 64548d6651c0501eb5838c566a6902d500228b5f /src/composite.c | |
| parent | 55fa71b3d9bb8609ca3cbb56f92c776ad8724a69 (diff) | |
| parent | 069bac5e5b55c0f63bd2764e727108d2b48b2643 (diff) | |
| download | emacs-610ba6f8ddf2298849cad522b6952bc694f0e63f.tar.gz emacs-610ba6f8ddf2298849cad522b6952bc694f0e63f.zip | |
upstream
Diffstat (limited to 'src/composite.c')
| -rw-r--r-- | src/composite.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/composite.c b/src/composite.c index 62ab3d04948..485e51467ca 100644 --- a/src/composite.c +++ b/src/composite.c | |||
| @@ -906,7 +906,7 @@ static Lisp_Object | |||
| 906 | autocmp_chars (Lisp_Object rule, ptrdiff_t charpos, ptrdiff_t bytepos, ptrdiff_t limit, struct window *win, struct face *face, Lisp_Object string) | 906 | autocmp_chars (Lisp_Object rule, ptrdiff_t charpos, ptrdiff_t bytepos, ptrdiff_t limit, struct window *win, struct face *face, Lisp_Object string) |
| 907 | { | 907 | { |
| 908 | ptrdiff_t count = SPECPDL_INDEX (); | 908 | ptrdiff_t count = SPECPDL_INDEX (); |
| 909 | FRAME_PTR f = XFRAME (win->frame); | 909 | FRAME_PTR f = XFRAME (WVAR (win, frame)); |
| 910 | Lisp_Object pos = make_number (charpos); | 910 | Lisp_Object pos = make_number (charpos); |
| 911 | ptrdiff_t to; | 911 | ptrdiff_t to; |
| 912 | ptrdiff_t pt = PT, pt_byte = PT_BYTE; | 912 | ptrdiff_t pt = PT, pt_byte = PT_BYTE; |
| @@ -942,7 +942,7 @@ autocmp_chars (Lisp_Object rule, ptrdiff_t charpos, ptrdiff_t bytepos, ptrdiff_t | |||
| 942 | } | 942 | } |
| 943 | else | 943 | else |
| 944 | #endif /* not HAVE_WINDOW_SYSTEM */ | 944 | #endif /* not HAVE_WINDOW_SYSTEM */ |
| 945 | font_object = win->frame; | 945 | font_object = WVAR (win, frame); |
| 946 | lgstring = Fcomposition_get_gstring (pos, make_number (to), font_object, | 946 | lgstring = Fcomposition_get_gstring (pos, make_number (to), font_object, |
| 947 | string); | 947 | string); |
| 948 | if (NILP (LGSTRING_ID (lgstring))) | 948 | if (NILP (LGSTRING_ID (lgstring))) |