From: Glenn Morris Date: Sat, 9 May 2020 17:17:27 +0000 (-0700) Subject: * src/xdisp.c (Fwindow_text_pixel_size): Fix previous merge. X-Git-Tag: emacs-28.0.90~7400 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=94224c4addc999ad798cc690051498bcce199555;p=emacs.git * src/xdisp.c (Fwindow_text_pixel_size): Fix previous merge. --- diff --git a/src/xdisp.c b/src/xdisp.c index 3ff4365ea61..d65bb388699 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; }