]> git.eshelyaron.com Git - emacs.git/commitdiff
(w32_to_x_font): Fix bad merge.
authorJason Rumney <jasonr@gnu.org>
Thu, 6 Dec 2007 15:17:39 +0000 (15:17 +0000)
committerJason Rumney <jasonr@gnu.org>
Thu, 6 Dec 2007 15:17:39 +0000 (15:17 +0000)
src/w32fns.c

index 3e4413a0beee8b0a2b05bf78e85eba8a3d8f7df1..441ad0f60dc9b02f8e753bf924e022a70867a944 100644 (file)
@@ -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