diff options
| author | Eli Zaretskii | 2021-02-05 14:27:46 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2021-02-05 14:27:46 +0200 |
| commit | 07ead60a822580b1dd3d8b3a5f6730d486b57cb3 (patch) | |
| tree | 7e3557ce2e460d1d4903aa492a06aa470558bed0 /src | |
| parent | 764db69dd06b794074561e3830fdf02e67698445 (diff) | |
| download | emacs-07ead60a822580b1dd3d8b3a5f6730d486b57cb3.tar.gz emacs-07ead60a822580b1dd3d8b3a5f6730d486b57cb3.zip | |
; * src/xdisp.c (Fwindow_text_pixel_size): Another minor fix.
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 4db981aa655..764735769b4 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -10777,7 +10777,7 @@ include the height of both, if present, in the return value. */) | |||
| 10777 | /* If text spans more than one screen line, we don't need to adjust | 10777 | /* If text spans more than one screen line, we don't need to adjust |
| 10778 | the x-span for start_x, since the second and subsequent lines | 10778 | the x-span for start_x, since the second and subsequent lines |
| 10779 | will begin at zero X coordinate. */ | 10779 | will begin at zero X coordinate. */ |
| 10780 | if (it.current_y > 0) | 10780 | if (it.current_y > start_y) |
| 10781 | start_x = 0; | 10781 | start_x = 0; |
| 10782 | 10782 | ||
| 10783 | /* Subtract height of header-line which was counted automatically by | 10783 | /* Subtract height of header-line which was counted automatically by |