gdi32: Remove redundant charset assignments.

This commit is contained in:
Akihiro Sagawa 2011-04-01 21:19:57 +09:00 committed by Alexandre Julliard
parent 6a404a3b58
commit f088185471
1 changed files with 1 additions and 4 deletions

View File

@ -4121,10 +4121,7 @@ static BOOL enum_face_charsets(Face *face, FONTENUMPROCW proc, LPARAM lparam)
else {
fs.fsCsb[0] = 1L << i;
fs.fsCsb[1] = 0;
if(!TranslateCharsetInfo(fs.fsCsb, &csi, TCI_SRCFONTSIG))
csi.ciCharset = DEFAULT_CHARSET;
if(i == 31) csi.ciCharset = SYMBOL_CHARSET;
if(csi.ciCharset != DEFAULT_CHARSET) {
if(TranslateCharsetInfo(fs.fsCsb, &csi, TCI_SRCFONTSIG))
elf.elfLogFont.lfCharSet = ntm.ntmTm.tmCharSet = csi.ciCharset;
if(ElfScriptsW[i])
strcpyW(elf.elfScript, ElfScriptsW[i]);