From: Paul Eggert <eggert@cs.ucla.edu>
Date: Sun, 6 Dec 2015 22:58:24 +0000 (-0800)
Subject: Pacify gcc -Wparentheses
X-Git-Tag: emacs-25.0.90~521
X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6aa37b26b85d254a3bd3053792256d924479d72e;p=emacs.git

Pacify gcc -Wparentheses

* src/xdisp.c (row_containing_pos): Reparenthesize.
---

diff --git a/src/xdisp.c b/src/xdisp.c
index 3930cbf8fe8..68e9cfb450c 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -17801,7 +17801,7 @@ row_containing_pos (struct window *w, ptrdiff_t charpos,
   while (true)
     {
       /* Give up if we have gone too far.  */
-      if (end && row >= end || !row->enabled_p)
+      if ((end && row >= end) || !row->enabled_p)
 	return NULL;
       /* This formerly returned if they were equal.
 	 I think that both quantities are of a "last plus one" type;