aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Rumney2008-12-10 16:21:39 +0000
committerJason Rumney2008-12-10 16:21:39 +0000
commit2db5c0e6a3bd7d1f3b302f41454de36e5f310fdb (patch)
tree153b64b0cdaf04363a7eae56584b07b359fc0f78
parent9d32f818993bc689500a27b732fe3318d903a415 (diff)
downloademacs-2db5c0e6a3bd7d1f3b302f41454de36e5f310fdb.tar.gz
emacs-2db5c0e6a3bd7d1f3b302f41454de36e5f310fdb.zip
Improve comments for last change.
-rw-r--r--src/w32font.c3
1 files changed, 2 insertions, 1 deletions
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)
1407 && logical_font->elfLogFont.lfCharSet != DEFAULT_CHARSET 1407 && logical_font->elfLogFont.lfCharSet != DEFAULT_CHARSET
1408 && logical_font->elfLogFont.lfCharSet != ANSI_CHARSET) 1408 && logical_font->elfLogFont.lfCharSet != ANSI_CHARSET)
1409 return 1; 1409 return 1;
1410 /* unicode-sip fonts must contain characters beyond the BMP. */ 1410 /* unicode-sip fonts must contain characters beyond the BMP,
1411 so look for bit 57 (surrogates) in the Unicode subranges. */
1411 else if (EQ (spec_charset, Qunicode_sip) 1412 else if (EQ (spec_charset, Qunicode_sip)
1412 && !(physical_font->ntmFontSig.fsUsb[1] & 0x02000000)) 1413 && !(physical_font->ntmFontSig.fsUsb[1] & 0x02000000))
1413 return 1; 1414 return 1;