Commit 4e2fb5c7 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Fix bug #9947 with referencing uninitialized variable.

 src/xdisp.c (note_mouse_highlight): Initialize `area'.
parent 2a58bbc1
2011-11-03 Eli Zaretskii <>
* xdisp.c (note_mouse_highlight): Initialize `area'. (Bug#9947)
* w32fns.c (unwind_create_frame): If needed, free the glyph
matrices of the partially constructed frame. (Bug#9943)
* xfns.c (unwind_create_frame): Likewise.
......@@ -26892,7 +26892,7 @@ note_mouse_highlight (struct frame *f, int x, int y)
&& XFASTINT (w->last_modified) == BUF_MODIFF (b)
&& XFASTINT (w->last_overlay_modified) == BUF_OVERLAY_MODIFF (b))
int hpos, vpos, dx, dy, area;
int hpos, vpos, dx, dy, area = LAST_AREA;
struct glyph *glyph;
Lisp_Object object;
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