1
0
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:
Paul Eggert 2016-04-04 22:34:01 -07:00
parent b4c7869e5e
commit e11b41ec61

View File

@ -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);
}