diff options
| author | Andreas Schwab | 2009-11-21 11:52:23 +0000 |
|---|---|---|
| committer | Andreas Schwab | 2009-11-21 11:52:23 +0000 |
| commit | 62a6e103dd7b9d940565639d6a47c8bdee3f24ce (patch) | |
| tree | 0e2ab8777e97932d73a91e328683bef10dbf7c8d /src/font.c | |
| parent | c3b616a940d9dab7f8fe4376755a8a8f9a2ba290 (diff) | |
| download | emacs-62a6e103dd7b9d940565639d6a47c8bdee3f24ce.tar.gz emacs-62a6e103dd7b9d940565639d6a47c8bdee3f24ce.zip | |
* character.h (STRING_CHAR, STRING_CHAR_AND_LENGTH): Remove
ignored second argument. All callers changed.
* regex.c (STRING_CHAR, STRING_CHAR_AND_LENGTH, RE_STRING_CHAR)
(RE_STRING_CHAR_AND_LENGTH): Likewise.
* xdisp.c (string_char_and_length): Likewise.
Diffstat (limited to 'src/font.c')
| -rw-r--r-- | src/font.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/font.c b/src/font.c index 1c0a9dfb236..aa07c7805d1 100644 --- a/src/font.c +++ b/src/font.c | |||
| @@ -3863,7 +3863,7 @@ font_at (c, pos, face, w, string) | |||
| 3863 | EMACS_INT pos_byte = string_char_to_byte (string, pos); | 3863 | EMACS_INT pos_byte = string_char_to_byte (string, pos); |
| 3864 | 3864 | ||
| 3865 | str = SDATA (string) + pos_byte; | 3865 | str = SDATA (string) + pos_byte; |
| 3866 | c = STRING_CHAR (str, 0); | 3866 | c = STRING_CHAR (str); |
| 3867 | } | 3867 | } |
| 3868 | else | 3868 | else |
| 3869 | c = SDATA (string)[pos]; | 3869 | c = SDATA (string)[pos]; |