diff src/w32term.c @ 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 8bde67004473
children 11e29c86babb
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.  */