diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 3 | ||||
| -rw-r--r-- | src/bidi.c | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 7dc419ef731..e59c72643d4 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2011-07-09 Eli Zaretskii <eliz@gnu.org> | 1 | 2011-07-09 Eli Zaretskii <eliz@gnu.org> |
| 2 | 2 | ||
| 3 | * bidi.c (bidi_fetch_char): Fix the type of `len' according to | ||
| 4 | what STRING_CHAR_AND_LENGTH expects. | ||
| 5 | |||
| 3 | * xdisp.c (move_it_in_display_line_to): Record prev_method and | 6 | * xdisp.c (move_it_in_display_line_to): Record prev_method and |
| 4 | prev_pos immediately before the call to set_iterator_to_next. | 7 | prev_pos immediately before the call to set_iterator_to_next. |
| 5 | Fixes cursor motion in bidi-reordered lines with stretch glyphs | 8 | Fixes cursor motion in bidi-reordered lines with stretch glyphs |
diff --git a/src/bidi.c b/src/bidi.c index 5b26ecf0854..a25e2489547 100644 --- a/src/bidi.c +++ b/src/bidi.c | |||
| @@ -922,7 +922,7 @@ bidi_fetch_char (EMACS_INT bytepos, EMACS_INT charpos, EMACS_INT *disp_pos, | |||
| 922 | { | 922 | { |
| 923 | if (string->s) | 923 | if (string->s) |
| 924 | { | 924 | { |
| 925 | EMACS_INT len; | 925 | int len; |
| 926 | 926 | ||
| 927 | if (!string->unibyte) | 927 | if (!string->unibyte) |
| 928 | { | 928 | { |
| @@ -937,7 +937,7 @@ bidi_fetch_char (EMACS_INT bytepos, EMACS_INT charpos, EMACS_INT *disp_pos, | |||
| 937 | } | 937 | } |
| 938 | else if (STRINGP (string->lstring)) | 938 | else if (STRINGP (string->lstring)) |
| 939 | { | 939 | { |
| 940 | EMACS_INT len; | 940 | int len; |
| 941 | 941 | ||
| 942 | if (!string->unibyte) | 942 | if (!string->unibyte) |
| 943 | { | 943 | { |