diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/syntax.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/syntax.c b/src/syntax.c index 4ab87a3a3c2..b17a8d4d0bc 100644 --- a/src/syntax.c +++ b/src/syntax.c | |||
| @@ -877,8 +877,8 @@ DEFUN ("modify-syntax-entry", Fmodify_syntax_entry, Smodify_syntax_entry, 2, 3, | |||
| 877 | if (*p) | 877 | if (*p) |
| 878 | { | 878 | { |
| 879 | int len; | 879 | int len; |
| 880 | int character = STRING_CHAR_AND_LENGTH (p, XSTRING (newentry)->size - 1, | 880 | int character = (STRING_CHAR_AND_LENGTH |
| 881 | len); | 881 | (p, STRING_BYTES (XSTRING (newentry)) - 1, len)); |
| 882 | XSETINT (match, character); | 882 | XSETINT (match, character); |
| 883 | if (XFASTINT (match) == ' ') | 883 | if (XFASTINT (match) == ' ') |
| 884 | match = Qnil; | 884 | match = Qnil; |