From: Paul Eggert Date: Sat, 3 Jan 2015 20:19:00 +0000 (-0800) Subject: Pacify gcc -Wparentheses X-Git-Tag: emacs-25.0.90~2611^2~14 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c6e9f7838aaf2efbb519c7401a60caffa36a4f9d;p=emacs.git Pacify gcc -Wparentheses * frame.c (x_set_frame_parameters): Add parens (Bug#19428). --- diff --git a/src/ChangeLog b/src/ChangeLog index 6d25fc21f3b..12852b89b12 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2015-01-03 Paul Eggert + + Pacify gcc -Wparentheses + * frame.c (x_set_frame_parameters): Add parens (Bug#19428). + 2015-01-03 Martin Rudalics * frame.c (x_set_frame_parameters): Call Fset_frame_size only if diff --git a/src/frame.c b/src/frame.c index bdc914f75c5..5a0d142afbb 100644 --- a/src/frame.c +++ b/src/frame.c @@ -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