From fb220ed56a90caccafcf5c61faf51d033aca3e3f Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Thu, 6 Dec 2007 15:17:39 +0000 Subject: [PATCH] (w32_to_x_font): Fix bad merge. --- src/w32fns.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/w32fns.c b/src/w32fns.c index 3e4413a0bee..441ad0f60dc 100644 --- a/src/w32fns.c +++ b/src/w32fns.c @@ -5535,9 +5535,6 @@ w32_to_x_font (lplogfont, lpxstr, len, specific_charset) strlen(lplogfont->lfFaceName), Qnil); fontname = coding.destination; - fontname = alloca (sizeof (*fontname) * bufsz); - decode_coding (&coding, lplogfont->lfFaceName, fontname, - strlen (lplogfont->lfFaceName), bufsz - 1); *(fontname + coding.produced) = '\0'; /* Replace dashes with underscores so the dashes are not -- 2.39.5