From 7c2aaeb4f6ee5c209283ab0c6bdf3f0918f3de98 Mon Sep 17 00:00:00 2001
From: Eli Zaretskii <eliz@gnu.org>
Date: Tue, 9 Sep 2014 21:23:26 +0300
Subject: [PATCH] src/xdisp.c (pos_visible_p): Don't assign a boolean value to
 an int var.

---
 src/xdisp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/xdisp.c b/src/xdisp.c
index 6991e44b931..6b327c84290 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -1464,7 +1464,7 @@ pos_visible_p (struct window *w, ptrdiff_t charpos, int *x, int *y,
       if (top_y < window_top_y)
 	visible_p = bottom_y > window_top_y;
       else if (top_y < it.last_visible_y)
-	visible_p = true;
+	visible_p = 1;
       if (bottom_y >= it.last_visible_y
 	  && it.bidi_p && it.bidi_it.scan_dir == -1
 	  && IT_CHARPOS (it) < charpos)
-- 
2.39.5