1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-09 13:10:57 -08:00

* indent.c (Fcompute_motion): Don't assume hscroll and tab offset fit in int.

This commit is contained in:
Paul Eggert 2011-06-18 11:29:19 -07:00
parent abe80cc6c1
commit 8fcaf9cc81
2 changed files with 2 additions and 1 deletions

View file

@ -3,6 +3,7 @@
* indent.c (sane_tab_width): New function.
(current_column, scan_for_column, Findent_to, position_indentation)
(compute_motion): Use it. This is just for clarity.
(Fcompute_motion): Don't assume hscroll and tab offset fit in int.
* image.c (xbm_image_p): Don't assume stated width and height fit in int.

View file

@ -1743,7 +1743,7 @@ visible section of the buffer, and pass LINE and COL as TOPOS. */)
struct window *w;
Lisp_Object bufpos, hpos, vpos, prevhpos;
struct position *pos;
int hscroll, tab_offset;
EMACS_INT hscroll, tab_offset;
CHECK_NUMBER_COERCE_MARKER (from);
CHECK_CONS (frompos);