; Fix typo in previous patch.
This commit is contained in:
parent
b4c7869e5e
commit
e11b41ec61
1 changed files with 1 additions and 1 deletions
|
@ -8420,7 +8420,7 @@ Lisp_Object
|
|||
from_unicode_buffer (const wchar_t *wstr)
|
||||
{
|
||||
/* We get one of the two final null bytes for free. */
|
||||
prtdiff_t len = 1 + sizeof (wchar_t) * wcslen (wstr);
|
||||
ptrdiff_t len = 1 + sizeof (wchar_t) * wcslen (wstr);
|
||||
AUTO_STRING_WITH_LEN (str, (char *) wstr, len);
|
||||
return from_unicode (str);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue