diff options
author | Eli Zaretskii <eliz@gnu.org> | 2014-09-09 21:23:26 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2014-09-09 21:23:26 +0300 |
commit | 7c2aaeb4f6ee5c209283ab0c6bdf3f0918f3de98 (patch) | |
tree | 26e7044a954c77b769c1264b67f52522302ed2bd | |
parent | d7a3bb022cdd7d63b6af679a08d4570304d8f28e (diff) | |
download | emacs-7c2aaeb4f6ee5c209283ab0c6bdf3f0918f3de98.tar.gz |
src/xdisp.c (pos_visible_p): Don't assign a boolean value to an int var.
-rw-r--r-- | src/xdisp.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |