From: Jason Rumney Date: Wed, 10 Dec 2008 16:21:39 +0000 (+0000) Subject: Improve comments for last change. X-Git-Tag: emacs-pretest-23.0.90~1179 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2db5c0e6a3bd7d1f3b302f41454de36e5f310fdb;p=emacs.git Improve comments for last change. --- diff --git a/src/w32font.c b/src/w32font.c index 65e6c5448a6..4492a275bd1 100644 --- a/src/w32font.c +++ b/src/w32font.c @@ -1407,7 +1407,8 @@ add_font_entity_to_list (logical_font, physical_font, font_type, lParam) && logical_font->elfLogFont.lfCharSet != DEFAULT_CHARSET && logical_font->elfLogFont.lfCharSet != ANSI_CHARSET) return 1; - /* unicode-sip fonts must contain characters beyond the BMP. */ + /* unicode-sip fonts must contain characters beyond the BMP, + so look for bit 57 (surrogates) in the Unicode subranges. */ else if (EQ (spec_charset, Qunicode_sip) && !(physical_font->ntmFontSig.fsUsb[1] & 0x02000000)) return 1;