diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 2 | ||||
| -rw-r--r-- | src/character.h | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 1b707c4b463..4b3f0ceca36 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2011-03-16 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-03-16 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * character.h (FETCH_CHAR_ADVANCE): Rename locals to avoid shadowing. | ||
| 4 | |||
| 3 | * font.c (font_unparse_xlfd): Don't mix pointers to variables with | 5 | * font.c (font_unparse_xlfd): Don't mix pointers to variables with |
| 4 | pointers to constants. | 6 | pointers to constants. |
| 5 | (font_parse_fcname): Remove unused vars. | 7 | (font_parse_fcname): Remove unused vars. |
diff --git a/src/character.h b/src/character.h index f0b0002032e..77c670728d0 100644 --- a/src/character.h +++ b/src/character.h | |||
| @@ -417,10 +417,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 417 | if (!NILP (BVAR (current_buffer, enable_multibyte_characters))) \ | 417 | if (!NILP (BVAR (current_buffer, enable_multibyte_characters))) \ |
| 418 | { \ | 418 | { \ |
| 419 | unsigned char *ptr = BYTE_POS_ADDR (BYTEIDX); \ | 419 | unsigned char *ptr = BYTE_POS_ADDR (BYTEIDX); \ |
| 420 | int len; \ | 420 | int string_len; \ |
| 421 | \ | 421 | \ |
| 422 | OUTPUT= STRING_CHAR_AND_LENGTH (ptr, len); \ | 422 | OUTPUT= STRING_CHAR_AND_LENGTH (ptr, string_len); \ |
| 423 | BYTEIDX += len; \ | 423 | BYTEIDX += string_len; \ |
| 424 | } \ | 424 | } \ |
| 425 | else \ | 425 | else \ |
| 426 | { \ | 426 | { \ |