# HG changeset patch # User Jason Rumney # Date 1196954259 0 # Node ID 75f33cb01d7c9c0825743758b0e1fe343e882a22 # Parent 53108e6cea986e692ed7af3ac303614b7822d7c8 (w32_to_x_font): Fix bad merge. diff -r 53108e6cea98 -r 75f33cb01d7c src/w32fns.c --- a/src/w32fns.c Thu Dec 06 09:51:45 2007 +0000 +++ b/src/w32fns.c Thu Dec 06 15:17:39 2007 +0000 @@ -5535,9 +5535,6 @@ 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