diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32fns.c | 3 |
1 files changed, 0 insertions, 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) | |||
| 5535 | strlen(lplogfont->lfFaceName), Qnil); | 5535 | strlen(lplogfont->lfFaceName), Qnil); |
| 5536 | fontname = coding.destination; | 5536 | fontname = coding.destination; |
| 5537 | 5537 | ||
| 5538 | fontname = alloca (sizeof (*fontname) * bufsz); | ||
| 5539 | decode_coding (&coding, lplogfont->lfFaceName, fontname, | ||
| 5540 | strlen (lplogfont->lfFaceName), bufsz - 1); | ||
| 5541 | *(fontname + coding.produced) = '\0'; | 5538 | *(fontname + coding.produced) = '\0'; |
| 5542 | 5539 | ||
| 5543 | /* Replace dashes with underscores so the dashes are not | 5540 | /* Replace dashes with underscores so the dashes are not |