(XTread_socket): Initialize variable `f' before its use.

This commit is contained in:
YAMAMOTO Mitsuharu 2006-04-03 06:28:48 +00:00
parent 022af1243c
commit fc9f8d1541
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2006-04-03 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
* macterm.c (XTread_socket): Initialize variable `f' before its use.
2006-04-03 Kenichi Handa <handa@m17n.org>
* image.c: Include "charset.h" and "coding.h".

View file

@ -10455,6 +10455,8 @@ XTread_socket (sd, expected, hold_quit)
ObscureCursor ();
f = mac_focus_frame (dpyinfo);
if (!dpyinfo->mouse_face_hidden && INTEGERP (Vmouse_highlight)
&& !EQ (f->tool_bar_window, dpyinfo->mouse_face_window))
{
@ -10500,7 +10502,7 @@ XTread_socket (sd, expected, hold_quit)
inev.modifiers |= (extra_keyboard_modifiers
& (meta_modifier | alt_modifier
| hyper_modifier | super_modifier));
XSETFRAME (inev.frame_or_window, mac_focus_frame (dpyinfo));
XSETFRAME (inev.frame_or_window, f);
break;
case kHighLevelEvent: