emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 94224c4: * src/xdisp.c (Fwindow_text_pixel_size): Fix previous me


From: Glenn Morris
Subject: master 94224c4: * src/xdisp.c (Fwindow_text_pixel_size): Fix previous merge.
Date: Sat, 9 May 2020 13:17:44 -0400 (EDT)

branch: master
commit 94224c4addc999ad798cc690051498bcce199555
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>

    * src/xdisp.c (Fwindow_text_pixel_size): Fix previous merge.
---
 src/xdisp.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/xdisp.c b/src/xdisp.c
index 3ff4365..d65bb38 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -10511,13 +10511,13 @@ include the height of both, if present, in the return 
value.  */)
       bpos = BEGV_BYTE;
       while (bpos < ZV_BYTE)
        {
-         FETCH_CHAR_ADVANCE (c, start, bpos);
+         c = fetch_char_advance (&start, &bpos);
          if (!(c == ' ' || c == '\t' || c == '\n' || c == '\r'))
            break;
        }
       while (bpos > BEGV_BYTE)
        {
-         DEC_BOTH (start, bpos);
+         dec_both (&start, &bpos);
          c = FETCH_CHAR (bpos);
          if (!(c == ' ' || c == '\t'))
            break;
@@ -10539,14 +10539,14 @@ include the height of both, if present, in the return 
value.  */)
       bpos = ZV_BYTE;
       while (bpos > BEGV_BYTE)
        {
-         DEC_BOTH (end, bpos);
+         dec_both (&end, &bpos);
          c = FETCH_CHAR (bpos);
          if (!(c == ' ' || c == '\t' || c == '\n' || c == '\r'))
            break;
        }
       while (bpos < ZV_BYTE)
        {
-         FETCH_CHAR_ADVANCE (c, end, bpos);
+         c = fetch_char_advance (&end, &bpos);
          if (!(c == ' ' || c == '\t'))
            break;
        }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]