Commit 500188f4 authored by Paul Eggert's avatar Paul Eggert
Browse files

* fringe.c (update_window_fringes): Initialize top_row_ends_at_zv_p and

bot_row_ends_at_zv_p, with a FIXME comment.
parent bf60f616
2011-03-10 Paul Eggert <eggert@cs.ucla.edu> 2011-03-10 Paul Eggert <eggert@cs.ucla.edu>
   
* fringe.c (destroy_fringe_bitmap, init_fringe_bitmap): Now static. * fringe.c (destroy_fringe_bitmap, init_fringe_bitmap): Now static.
(update_window_fringes): Initialize top_row_ends_at_zv_p and
bot_row_ends_at_zv_p, with a FIXME comment.
   
* alloc.c (mark_fringe_data): Move decl from here ... * alloc.c (mark_fringe_data): Move decl from here ...
* lisp.h (mark_fringe_data) [HAVE_WINDOW_SYSTEM]: ... to here, * lisp.h (mark_fringe_data) [HAVE_WINDOW_SYSTEM]: ... to here,
...@@ -913,7 +913,10 @@ update_window_fringes (struct window *w, int keep_current_p) ...@@ -913,7 +913,10 @@ update_window_fringes (struct window *w, int keep_current_p)
int bitmap_cache[MAX_BITMAP_CACHE]; int bitmap_cache[MAX_BITMAP_CACHE];
int top_ind_rn, bot_ind_rn; int top_ind_rn, bot_ind_rn;
int top_ind_min_y, bot_ind_max_y; int top_ind_min_y, bot_ind_max_y;
int top_row_ends_at_zv_p, bot_row_ends_at_zv_p;
/* FIXME: Do these need to be initialized? If not, please change
their "= 0"s to "IF_LINT (= 0)"s. Either way, please explain. */
int top_row_ends_at_zv_p = 0, bot_row_ends_at_zv_p = 0;
if (w->pseudo_window_p) if (w->pseudo_window_p)
return 0; return 0;
......
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