emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-25 6aa37b2: Pacify gcc -Wparentheses


From: Paul Eggert
Subject: [Emacs-diffs] emacs-25 6aa37b2: Pacify gcc -Wparentheses
Date: Sun, 06 Dec 2015 22:59:08 +0000

branch: emacs-25
commit 6aa37b26b85d254a3bd3053792256d924479d72e
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>

    Pacify gcc -Wparentheses
    
    * src/xdisp.c (row_containing_pos): Reparenthesize.
---
 src/xdisp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/xdisp.c b/src/xdisp.c
index 3930cbf..68e9cfb 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;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]