aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris2020-05-09 10:17:27 -0700
committerGlenn Morris2020-05-09 10:17:27 -0700
commit94224c4addc999ad798cc690051498bcce199555 (patch)
treee08ae797360b23dbe368f4333f23fc3e28584682 /src
parent5c890bfc191d0cf18dccbbf50ebdcde946a0d7fb (diff)
downloademacs-94224c4addc999ad798cc690051498bcce199555.tar.gz
emacs-94224c4addc999ad798cc690051498bcce199555.zip
* src/xdisp.c (Fwindow_text_pixel_size): Fix previous merge.
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c8
1 files changed, 4 insertions, 4 deletions
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. */)
10511 bpos = BEGV_BYTE; 10511 bpos = BEGV_BYTE;
10512 while (bpos < ZV_BYTE) 10512 while (bpos < ZV_BYTE)
10513 { 10513 {
10514 FETCH_CHAR_ADVANCE (c, start, bpos); 10514 c = fetch_char_advance (&start, &bpos);
10515 if (!(c == ' ' || c == '\t' || c == '\n' || c == '\r')) 10515 if (!(c == ' ' || c == '\t' || c == '\n' || c == '\r'))
10516 break; 10516 break;
10517 } 10517 }
10518 while (bpos > BEGV_BYTE) 10518 while (bpos > BEGV_BYTE)
10519 { 10519 {
10520 DEC_BOTH (start, bpos); 10520 dec_both (&start, &bpos);
10521 c = FETCH_CHAR (bpos); 10521 c = FETCH_CHAR (bpos);
10522 if (!(c == ' ' || c == '\t')) 10522 if (!(c == ' ' || c == '\t'))
10523 break; 10523 break;
@@ -10539,14 +10539,14 @@ include the height of both, if present, in the return value. */)
10539 bpos = ZV_BYTE; 10539 bpos = ZV_BYTE;
10540 while (bpos > BEGV_BYTE) 10540 while (bpos > BEGV_BYTE)
10541 { 10541 {
10542 DEC_BOTH (end, bpos); 10542 dec_both (&end, &bpos);
10543 c = FETCH_CHAR (bpos); 10543 c = FETCH_CHAR (bpos);
10544 if (!(c == ' ' || c == '\t' || c == '\n' || c == '\r')) 10544 if (!(c == ' ' || c == '\t' || c == '\n' || c == '\r'))
10545 break; 10545 break;
10546 } 10546 }
10547 while (bpos < ZV_BYTE) 10547 while (bpos < ZV_BYTE)
10548 { 10548 {
10549 FETCH_CHAR_ADVANCE (c, end, bpos); 10549 c = fetch_char_advance (&end, &bpos);
10550 if (!(c == ' ' || c == '\t')) 10550 if (!(c == ' ' || c == '\t'))
10551 break; 10551 break;
10552 } 10552 }