Fixing damage caused by internationalization. Making it use the right UI font (MS Sans Serif).

This commit is contained in:
hyatt%netscape.com 1998-09-09 23:11:20 +00:00
parent a70690e489
commit 922c20a059

View File

@ -2209,7 +2209,7 @@ void COutliner::SetCSID(int csid)
memset(&lf,0,sizeof(LOGFONT)); memset(&lf,0,sizeof(LOGFONT));
lf.lfPitchAndFamily = FF_SWISS; lf.lfPitchAndFamily = FF_SWISS;
lf.lfCharSet = IntlGetLfCharset(csid); lf.lfCharSet = IntlGetLfCharset(csid);
if (csid == CS_LATIN1) if (csid == CS_LATIN1 || csid == CS_UTF8)
_tcscpy(lf.lfFaceName, "MS Sans Serif"); _tcscpy(lf.lfFaceName, "MS Sans Serif");
else else
_tcscpy(lf.lfFaceName, IntlGetUIPropFaceName(csid)); _tcscpy(lf.lfFaceName, IntlGetUIPropFaceName(csid));