diff options
| author | Eli Zaretskii | 2014-09-09 21:23:26 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2014-09-09 21:23:26 +0300 |
| commit | 7c2aaeb4f6ee5c209283ab0c6bdf3f0918f3de98 (patch) | |
| tree | 26e7044a954c77b769c1264b67f52522302ed2bd /src | |
| parent | d7a3bb022cdd7d63b6af679a08d4570304d8f28e (diff) | |
| download | emacs-7c2aaeb4f6ee5c209283ab0c6bdf3f0918f3de98.tar.gz emacs-7c2aaeb4f6ee5c209283ab0c6bdf3f0918f3de98.zip | |
src/xdisp.c (pos_visible_p): Don't assign a boolean value to an int var.
Diffstat (limited to 'src')
| -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, | |||
| 1464 | if (top_y < window_top_y) | 1464 | if (top_y < window_top_y) |
| 1465 | visible_p = bottom_y > window_top_y; | 1465 | visible_p = bottom_y > window_top_y; |
| 1466 | else if (top_y < it.last_visible_y) | 1466 | else if (top_y < it.last_visible_y) |
| 1467 | visible_p = true; | 1467 | visible_p = 1; |
| 1468 | if (bottom_y >= it.last_visible_y | 1468 | if (bottom_y >= it.last_visible_y |
| 1469 | && it.bidi_p && it.bidi_it.scan_dir == -1 | 1469 | && it.bidi_p && it.bidi_it.scan_dir == -1 |
| 1470 | && IT_CHARPOS (it) < charpos) | 1470 | && IT_CHARPOS (it) < charpos) |