Mercurial > emacs
changeset 17059:5246c075a643
Change FETCH_CHAR references to FETCH_BYTE.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Sat, 22 Feb 1997 19:26:15 +0000 |
parents | 8d2ff69b0c0a |
children | 8c069ef6e1c4 |
files | src/abbrev.c src/casefiddle.c |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/abbrev.c Sat Feb 22 19:23:31 1997 +0000 +++ b/src/abbrev.c Sat Feb 22 19:26:15 1997 +0000 @@ -243,7 +243,7 @@ Vabbrev_start_location = Qnil; if (wordstart < BEGV || wordstart > ZV) wordstart = 0; - if (wordstart && wordstart != ZV && FETCH_CHAR (wordstart) == '-') + if (wordstart && wordstart != ZV && FETCH_BYTE (wordstart) == '-') del_range (wordstart, wordstart + 1); } if (!wordstart) @@ -266,7 +266,7 @@ for (idx = wordstart; idx < wordend; idx++) { - register int c = FETCH_CHAR (idx); + register int c = FETCH_BYTE (idx); if (UPPERCASEP (c)) c = DOWNCASE (c), uccount++; else if (! NOCASEP (c))
--- a/src/casefiddle.c Sat Feb 22 19:23:31 1997 +0000 +++ b/src/casefiddle.c Sat Feb 22 19:26:15 1997 +0000 @@ -149,13 +149,13 @@ for (i = start; i < end; i++) { - c = FETCH_CHAR (i); + c = FETCH_BYTE (i); if (inword && flag != CASE_CAPITALIZE_UP) c = DOWNCASE (c); else if (!UPPERCASEP (c) && (!inword || flag != CASE_CAPITALIZE_UP)) c = UPCASE1 (c); - FETCH_CHAR (i) = c; + FETCH_BYTE (i) = c; if ((int) flag >= (int) CASE_CAPITALIZE) inword = SYNTAX (c) == Sword; }