Commit 2e5a6631 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Undo change in xdisp.c in 2012-06-29T11:48:08Z!

 src/xdisp.c (try_window_id): Undo last change.  'int' is wide 
 enough to hold vertical pixel positions on screen.
parent 8d38f461
2012-06-29 Eli Zaretskii <>
* xdisp.c (try_window_id): Undo last change.
* w32.c (getwd): Adjust commentary about startup_dir.
(init_environment): Always call sys_access, even in non-MSVC
builds. Don't chdir to the directory of the Emacs executable.
......@@ -17761,8 +17761,8 @@ try_window_id (struct window *w)
/* Displayed to end of window, but no line containing text was
displayed. Lines were deleted at the end of the window. */
ptrdiff_t first_vpos = WINDOW_WANTS_HEADER_LINE_P (w) ? 1 : 0;
ptrdiff_t vpos = XFASTINT (w->window_end_vpos);
int first_vpos = WINDOW_WANTS_HEADER_LINE_P (w) ? 1 : 0;
int vpos = XFASTINT (w->window_end_vpos);
struct glyph_row *current_row = current_matrix->rows + vpos;
struct glyph_row *desired_row = desired_matrix->rows + vpos;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment