diff options
| author | Eli Zaretskii | 2014-08-05 16:34:06 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2014-08-05 16:34:06 +0300 |
| commit | 5818408f5029ae6c26fa329104d1126b2322b356 (patch) | |
| tree | ea4152b1d4937d16b46361040038277dd9877344 /src/buffer.c | |
| parent | 1d58ab89ca6eb1f87a812e23ffca210e15c4fb5f (diff) | |
| download | emacs-5818408f5029ae6c26fa329104d1126b2322b356.tar.gz emacs-5818408f5029ae6c26fa329104d1126b2322b356.zip | |
Fix bug #18195 with inaccurate results from window-screen-lines.
lisp/simple.el (default-line-height): A floating-point value of
line-spacing means a fraction of the default frame font's height,
not of the font currently used by the 'default' face. Truncate
the pixel value, like the display engine does.
(window-screen-lines): Use window-inside-pixel-edges for
determining the window height in pixels.
Diffstat (limited to 'src/buffer.c')
0 files changed, 0 insertions, 0 deletions