]> git.eshelyaron.com Git - emacs.git/commitdiff
Pacify gcc -Wparentheses
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 6 Dec 2015 22:58:24 +0000 (14:58 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 6 Dec 2015 22:59:04 +0000 (14:59 -0800)
* src/xdisp.c (row_containing_pos): Reparenthesize.

src/xdisp.c

index 3930cbf8fe873e5831c9886f3684f3295c385e5d..68e9cfb450cec4fbbb4a90cb7a6cf96cf32c5c5f 100644 (file)
@@ -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;