From: Eli Zaretskii Date: Tue, 9 Sep 2014 18:23:26 +0000 (+0300) Subject: src/xdisp.c (pos_visible_p): Don't assign a boolean value to an int var. X-Git-Tag: emacs-24.3.94~44 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7c2aaeb4f6ee5c209283ab0c6bdf3f0918f3de98;p=emacs.git src/xdisp.c (pos_visible_p): Don't assign a boolean value to an int var. --- 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)