Mercurial > emacs
changeset 40010:1a8e549e2f40
(w32_encode_char): Get cached codepage from font_info,
rather than working it out by calling w32_codepage_for_font for
every glyph.
author | Andrew Innes <andrewi@gnu.org> |
---|---|
date | Wed, 17 Oct 2001 17:48:27 +0000 |
parents | f6ecf530f0a3 |
children | 0af935f18858 |
files | src/w32term.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/w32term.c Wed Oct 17 17:47:56 2001 +0000 +++ b/src/w32term.c Wed Oct 17 17:48:27 2001 +0000 @@ -1438,7 +1438,7 @@ *char2b = BUILD_WCHAR_T (sjis1, sjis2); } } - codepage = w32_codepage_for_font (font_info->name); + codepage = font_info->codepage; /* If charset is not ASCII or Latin-1, may need to move it into Unicode space. */