Commit 947003b5 authored by Martin Rudalics's avatar Martin Rudalics
Browse files

Fix int/Lisp_Object type mixup in w32_read_socket.

* w32term.c (w32_read_socket): Fix int/Lisp_Object type mixup.
parent c4142a83
2013-12-07 Martin Rudalics <rudalics@gmx.at>
* w32term.c (w32_read_socket): Fix int/Lisp_Object type mixup.
2013-12-07 Jan Djärv <jan.h.d@swipnet.se>
* gtkutil.c (tb_size_cb): Call xg_height_or_width_changed.
......
......@@ -4743,9 +4743,9 @@ w32_read_socket (struct terminal *terminal,
record_asynch_buffer_change ();
}
if (get_frame_param (f, Qfullscreen) == Qnil)
if (EQ (get_frame_param (f, Qfullscreen), Qnil))
set_frame_param (f, Qfullscreen, Qmaximized);
else if (get_frame_param (f, Qfullscreen) != Qmaximized)
else if (! EQ (get_frame_param (f, Qfullscreen), Qmaximized))
set_frame_param (f, Qmaximized, Qmaximized);
break;
......@@ -4782,9 +4782,9 @@ w32_read_socket (struct terminal *terminal,
record_asynch_buffer_change ();
}
if (get_frame_param (f, Qfullscreen) == Qmaximized)
if (EQ (get_frame_param (f, Qfullscreen), Qmaximized))
set_frame_param (f, Qfullscreen, Qnil);
else if (get_frame_param (f, Qmaximized) != Qnil)
else if (! EQ (get_frame_param (f, Qmaximized), Qnil))
set_frame_param (f, Qmaximized, Qnil);
break;
......
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