Mercurial > emacs
diff src/composite.c @ 110559:9c63d46e000c
Fix int/EMACS_INT use in keyboard.c.
keyboard.c <last_point_position, last_non_minibuf_size>: Declare EMACS_INT.
(echo_truncate, adjust_point_for_property, read_char)
(gen_help_event, make_lispy_event, modify_event_symbol)
(Fexecute_extended_command, stuff_buffered_input): Use EMACS_INT
for buffer positions and string length.
keyboard.h (gen_help_event): Adjust prototype.
termhooks.h <struct input_event>: Make `code' member EMACS_INT.
commands.h <last_point_position>: Declare EMACS_INT.
xdisp.c <help_echo_pos>: Define as EMACS_INT.
(truncate_echo_area): Accept EMACS_INT argument.
dispextern.h <help_echo_pos>: Declare EMACS_INT.
lisp.h (truncate_echo_area): Adjust prototype.
composite.c (composition_adjust_point): Return EMACS_INT.
composite.h (composition_adjust_point): Adjust prototype.
| author | Eli Zaretskii <eliz@gnu.org> |
|---|---|
| date | Sat, 25 Sep 2010 05:36:36 -0400 |
| parents | 0fdd992ff057 |
| children | 417b1e4d63cd |
line wrap: on
line diff
--- a/src/composite.c Sat Sep 25 03:44:43 2010 -0400 +++ b/src/composite.c Sat Sep 25 05:36:36 2010 -0400 @@ -1662,7 +1662,7 @@ /* Return the adjusted point provided that point is moved from LAST_PT to NEW_PT. */ -int +EMACS_INT composition_adjust_point (EMACS_INT last_pt, EMACS_INT new_pt) { EMACS_INT charpos, bytepos, startpos, beg, end, pos;
