diff options
| author | Paul Eggert | 2016-04-04 22:34:01 -0700 |
|---|---|---|
| committer | Paul Eggert | 2016-04-04 22:34:01 -0700 |
| commit | e11b41ec61e8857f0a0c925dd000a0bad9e124b3 (patch) | |
| tree | be3da8bee5dba2bcf0b22e09eb0899952ed352df /src/coding.c | |
| parent | b4c7869e5e1bb0bb33379b25ff830e721761a7bf (diff) | |
| download | emacs-e11b41ec61e8857f0a0c925dd000a0bad9e124b3.tar.gz emacs-e11b41ec61e8857f0a0c925dd000a0bad9e124b3.zip | |
; Fix typo in previous patch.
Diffstat (limited to 'src/coding.c')
| -rw-r--r-- | src/coding.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coding.c b/src/coding.c index bcedd7f5eeb..17cb77e28df 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -8420,7 +8420,7 @@ Lisp_Object | |||
| 8420 | from_unicode_buffer (const wchar_t *wstr) | 8420 | from_unicode_buffer (const wchar_t *wstr) |
| 8421 | { | 8421 | { |
| 8422 | /* We get one of the two final null bytes for free. */ | 8422 | /* We get one of the two final null bytes for free. */ |
| 8423 | prtdiff_t len = 1 + sizeof (wchar_t) * wcslen (wstr); | 8423 | ptrdiff_t len = 1 + sizeof (wchar_t) * wcslen (wstr); |
| 8424 | AUTO_STRING_WITH_LEN (str, (char *) wstr, len); | 8424 | AUTO_STRING_WITH_LEN (str, (char *) wstr, len); |
| 8425 | return from_unicode (str); | 8425 | return from_unicode (str); |
| 8426 | } | 8426 | } |