changeset 91205:75f33cb01d7c

(w32_to_x_font): Fix bad merge.
author Jason Rumney <jasonr@gnu.org>
date Thu, 06 Dec 2007 15:17:39 +0000
parents 53108e6cea98
children d0a0c2702364
files src/w32fns.c
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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