diff options
| author | Eli Zaretskii | 2013-03-10 19:28:04 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2013-03-10 19:28:04 +0200 |
| commit | 138c0ae83dcf3daede8d8a12459c9fca13d15fac (patch) | |
| tree | 39c91f22d01b298a500830af5d96663776bbd7de /src/w32fns.c | |
| parent | 7d051e215477753b813864caa23c1009c7692bda (diff) | |
| download | emacs-138c0ae83dcf3daede8d8a12459c9fca13d15fac.tar.gz emacs-138c0ae83dcf3daede8d8a12459c9fca13d15fac.zip | |
Use macros from dispextern.h where appropriate.
src/xdisp.c (display_tool_bar_line, redisplay_tool_bar)
(redisplay_internal, set_cursor_from_row, try_window)
(try_window_id, dump_glyph_row, extend_face_to_end_of_line)
(display_line, notice_overwritten_cursor)
(mouse_face_from_buffer_pos, note_mouse_highlight): Use
MATRIX_ROW_DISPLAYS_TEXT_P.
(note_mouse_highlight): Use MATRIX_ROW_GLYPH_START.
(mouse_face_from_string_pos, fast_find_string_pos): Use
MATRIX_ROW_VPOS.
src/xfns.c (Fx_show_tip): Use MATRIX_ROW_DISPLAYS_TEXT_P.
src/w32fns.c (Fx_show_tip): Use MATRIX_ROW_DISPLAYS_TEXT_P.
src/xdisp.c (try_cursor_movement): Use MATRIX_ROW and
MATRIX_MODE_LINE_ROW.
src/dispnew.c (update_window): Use MATRIX_ROW and MATRIX_MODE_LINE_ROW.
Diffstat (limited to 'src/w32fns.c')
| -rw-r--r-- | src/w32fns.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/w32fns.c b/src/w32fns.c index 6fd980c6b70..56cc1f37d08 100644 --- a/src/w32fns.c +++ b/src/w32fns.c | |||
| @@ -5824,7 +5824,7 @@ Text larger than the specified size is clipped. */) | |||
| 5824 | int row_width; | 5824 | int row_width; |
| 5825 | 5825 | ||
| 5826 | /* Stop at the first empty row at the end. */ | 5826 | /* Stop at the first empty row at the end. */ |
| 5827 | if (!row->enabled_p || !row->displays_text_p) | 5827 | if (!row->enabled_p || !MATRIX_ROW_DISPLAYS_TEXT_P (row)) |
| 5828 | break; | 5828 | break; |
| 5829 | 5829 | ||
| 5830 | /* Let the row go over the full width of the frame. */ | 5830 | /* Let the row go over the full width of the frame. */ |
| @@ -5885,7 +5885,7 @@ Text larger than the specified size is clipped. */) | |||
| 5885 | struct glyph *last; | 5885 | struct glyph *last; |
| 5886 | int row_width; | 5886 | int row_width; |
| 5887 | 5887 | ||
| 5888 | if (!row->enabled_p || !row->displays_text_p) | 5888 | if (!row->enabled_p || !MATRIX_ROW_DISPLAYS_TEXT_P (row)) |
| 5889 | break; | 5889 | break; |
| 5890 | row->full_width_p = 1; | 5890 | row->full_width_p = 1; |
| 5891 | row_width = row->pixel_width; | 5891 | row_width = row->pixel_width; |