Mercurial > emacs
comparison src/bidi.c @ 107599:23f8a579b56e
Retrospective commit from 2009-10-24.
Continue working on set_cursor_from_row.
Cleanup of resolved_level and bidi_type members of struct glyph.
xdisp.c (set_cursor_from_row): Fix off-by-one error when
skipping over non-character glyphs at end of a reversed row.
dispextern.h (struct glyph): The `resolved_level' member needs
only 5 bits, not 6. The `bidi_type' member needs only 3 bits.
(bidi_type_t): Rearrange so that types that can appear in the
resolved type are at the beginning and have values less than 8.
bidi.c: Include setjmp.h.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Fri, 01 Jan 2010 06:45:36 -0500 |
parents | 4bad2c6338cc |
children | ee023eee6207 |
comparison
equal
deleted
inserted
replaced
107598:4bad2c6338cc | 107599:23f8a579b56e |
---|---|
52 #include <stdio.h> | 52 #include <stdio.h> |
53 | 53 |
54 #ifdef HAVE_STRING_H | 54 #ifdef HAVE_STRING_H |
55 #include <string.h> | 55 #include <string.h> |
56 #endif | 56 #endif |
57 | |
58 #include <setjmp.h> | |
57 | 59 |
58 #include "lisp.h" | 60 #include "lisp.h" |
59 #include "buffer.h" | 61 #include "buffer.h" |
60 #include "character.h" | 62 #include "character.h" |
61 #include "dispextern.h" | 63 #include "dispextern.h" |