Prefer enum glyph_row_area to int where appropriate.
authorDmitry Antipov <dmantipov@yandex.ru>
Wed, 28 Aug 2013 11:00:03 +0000 (15:00 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Wed, 28 Aug 2013 11:00:03 +0000 (15:00 +0400)
commitc3c4768d2becd1f84c598e1463d089c224e83ea2
treecc32475a4cf3f88f9740faa3a292d0905a18f8c7
parentc65a2df9e3629bfda99e0f7dcb736097e098a7be
Prefer enum glyph_row_area to int where appropriate.
* dispextern.h (enum glyph_row_area): Add ANY_AREA member.
Fix comment.
(window_box, window_box_width, window_box_left, window_box_left_offset)
(window_box_right, window_box_right_offset): Adjust prototypes.
* xdisp.c (window_box, window_box_width, window_box_left)
(window_box_left_offset, window_box_right, window_box_right_offset):
Use enum glyph_row_area.  Adjust users and tweak comment where needed.
(window_box_edges): Likewise.  Lost 2nd arg since it is always ANY_AREA.
* nsterm.m (ns_clip_to_row):
* w32term.c (w32_clip_to_row):
* xterm.c (x_clip_to_row): Likewise.
src/ChangeLog
src/dispextern.h
src/dispnew.c
src/nsterm.m
src/w32term.c
src/xdisp.c
src/xterm.c