mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-04 11:40:22 +00:00
; Fix typo in previous patch.
This commit is contained in:
parent
b4c7869e5e
commit
e11b41ec61
@ -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…
Reference in New Issue
Block a user