aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32term.c
diff options
context:
space:
mode:
authorAndrew Innes2001-10-17 17:48:44 +0000
committerAndrew Innes2001-10-17 17:48:44 +0000
commit0e804d381c40da55c61107dfeda336936e4ac845 (patch)
tree79f2167d7f20bbf81f93e4afe27893e842945caf /src/w32term.c
parent19c291d324bd521b35f4cb0c9082bf730bd77fd6 (diff)
downloademacs-0e804d381c40da55c61107dfeda336936e4ac845.tar.gz
emacs-0e804d381c40da55c61107dfeda336936e4ac845.zip
(w32_encode_char): Get cached codepage from font_info,
rather than working it out by calling w32_codepage_for_font for every glyph.
Diffstat (limited to 'src/w32term.c')
-rw-r--r--src/w32term.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/w32term.c b/src/w32term.c
index 0425ed44577..c8afc114ef1 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -1438,7 +1438,7 @@ w32_encode_char (c, char2b, font_info, two_byte_p)
1438 *char2b = BUILD_WCHAR_T (sjis1, sjis2); 1438 *char2b = BUILD_WCHAR_T (sjis1, sjis2);
1439 } 1439 }
1440 } 1440 }
1441 codepage = w32_codepage_for_font (font_info->name); 1441 codepage = font_info->codepage;
1442 1442
1443 /* If charset is not ASCII or Latin-1, may need to move it into 1443 /* If charset is not ASCII or Latin-1, may need to move it into
1444 Unicode space. */ 1444 Unicode space. */