Commit 5fbfb018 authored by Chong Yidong's avatar Chong Yidong
Browse files

Revert bogus change in 2011-07-28T21:49:16Z!eggert@cs.ucla.edu.

* src/frame.c (x_set_frame_parameters): Revert bogus change introduced
in 2012-05-25 commit by Paul Eggert.

Fixes: debbugs:11738
parent 12999ea8
2012-07-18 Chong Yidong <cyd@gnu.org>
* frame.c (x_set_frame_parameters): Revert bogus change introduced
in 2012-05-25 commit by Paul Eggert (Bug#11738).
2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
Return more descriptive data from Fgarbage_collect.
......
......@@ -2868,7 +2868,7 @@ x_set_frame_parameters (FRAME_PTR f, Lisp_Object alist)
}
/* Don't die if just one of these was set. */
if (! TYPE_RANGED_INTEGERP (int, left))
if (EQ (left, Qunbound))
{
left_no_change = 1;
if (f->left_pos < 0)
......@@ -2876,7 +2876,7 @@ x_set_frame_parameters (FRAME_PTR f, Lisp_Object alist)
else
XSETINT (left, f->left_pos);
}
if (! TYPE_RANGED_INTEGERP (int, top))
if (EQ (top, Qunbound))
{
top_no_change = 1;
if (f->top_pos < 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