diff options
| author | Kenichi Handa | 2004-03-02 06:12:15 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2004-03-02 06:12:15 +0000 |
| commit | 409949b5d5bdbc7ce47ac018535bff8092c99e84 (patch) | |
| tree | 2e41093ed75c2b81040d00049b338a4f58571083 /src/doc.c | |
| parent | 71efd3c4730fe1b3660fe035c19f14bb0c9f6945 (diff) | |
| download | emacs-409949b5d5bdbc7ce47ac018535bff8092c99e84.tar.gz emacs-409949b5d5bdbc7ce47ac018535bff8092c99e84.zip | |
(Fsubstitute_command_keys): Fix counding bytes.
Diffstat (limited to 'src/doc.c')
| -rw-r--r-- | src/doc.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -821,7 +821,7 @@ thus, \\=\\=\\=\\= puts \\=\\= into the output, and \\=\\=\\=\\[ puts \\=\\[ int | |||
| 821 | start = strp; | 821 | start = strp; |
| 822 | start_idx = start - SDATA (string); | 822 | start_idx = start - SDATA (string); |
| 823 | 823 | ||
| 824 | while ((strp - SDATA (string) < SCHARS (string)) | 824 | while ((strp - SDATA (string) < SBYTES (string)) |
| 825 | && *strp != '}' && *strp != '>') | 825 | && *strp != '}' && *strp != '>') |
| 826 | strp++; | 826 | strp++; |
| 827 | 827 | ||