/[emacs]/emacs/src/w32fns.c
ViewVC logotype

Diff of /emacs/src/w32fns.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.123.2.8 by jasonr, Thu Jan 24 20:20:36 2002 UTC revision 1.123.2.9 by jasonr, Sat Feb 9 01:10:12 2002 UTC
# Line 6838  enum_font_cb2 (lplf, lptm, FontType, lpe Line 6838  enum_font_cb2 (lplf, lptm, FontType, lpe
6838        {        {
6839          charset = xlfd_charset_of_font (XSTRING(*(lpef->pattern))->data);          charset = xlfd_charset_of_font (XSTRING(*(lpef->pattern))->data);
6840    
6841          /* Ensure that charset is valid for this font.          /* We already checked charsets above, but DEFAULT_CHARSET
6842             Continue if invalid in case charset contains a wildcard.  */             slipped through.  So only allow exact matches for DEFAULT_CHARSET.  */
6843          if (charset          if (charset
6844              && (x_to_w32_charset (charset) != lplf->elfLogFont.lfCharSet))              && strncmp (charset, "*-*", 3) != 0
6845            charset = NULL;              && lpef->logfont.lfCharSet == DEFAULT_CHARSET
6846                && strcmp (charset, w32_to_x_charset (DEFAULT_CHARSET)) != 0)
6847              return 1;
6848        }        }
6849    
6850      if (charset)      if (charset)

Legend:
Removed from v.1.123.2.8  
changed lines
  Added in v.1.123.2.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26