Pacify gcc -Wparentheses

* frame.c (x_set_frame_parameters): Add parens (Bug#19428).
This commit is contained in:
Paul Eggert 2015-01-03 12:19:00 -08:00
parent 8c38c2b77a
commit c6e9f7838a
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2015-01-03 Paul Eggert <eggert@cs.ucla.edu>
Pacify gcc -Wparentheses
* frame.c (x_set_frame_parameters): Add parens (Bug#19428).
2015-01-03 Martin Rudalics <rudalics@gmx.at>
* frame.c (x_set_frame_parameters): Call Fset_frame_size only if

View file

@ -3219,7 +3219,7 @@ x_set_frame_parameters (struct frame *f, Lisp_Object alist)
if ((width_change && width != FRAME_TEXT_WIDTH (f))
|| (height_change && height != FRAME_TEXT_HEIGHT (f))
|| f->can_x_set_window_size && (f->new_height || f->new_width))
|| (f->can_x_set_window_size && (f->new_height || f->new_width)))
{
/* If necessary provide default values for HEIGHT and WIDTH. Do
that here since otherwise a size change implied by an