Changeset 1433 for trunk/dll/seeall.c
- Timestamp:
- Jun 23, 2009, 12:47:44 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/seeall.c
r1402 r1433 147 147 #define DP_EXTS 0x0010 148 148 149 #define FIXED_FONT_LCID5149 #define SEEALLFILECNR_FONT_LCID 15 150 150 151 151 #define COLORS_MAX 8 … … 2286 2286 if (hps) { 2287 2287 GpiSetCp(hps, (ULONG) ad->fattrs.usCodePage); 2288 GpiCreateLogFont(hps, NULL, FIXED_FONT_LCID, &ad->fattrs);2289 GpiSetCharSet(hps, FIXED_FONT_LCID);2288 GpiCreateLogFont(hps, NULL, SEEALLFILECNR_FONT_LCID, &ad->fattrs); 2289 GpiSetCharSet(hps, SEEALLFILECNR_FONT_LCID); 2290 2290 GpiQueryFontMetrics(hps, sizeof(FontMetrics), &FontMetrics); 2291 2291 ad->fattrs.lAveCharWidth = FontMetrics.lAveCharWidth; … … 4001 4001 "Seeall.Codepage", 4002 4002 &pAD->fattrs.usCodePage, sizeof(USHORT)); 4003 GpiDeleteSetId(pAD->hps, FIXED_FONT_LCID);4003 GpiDeleteSetId(pAD->hps, SEEALLFILECNR_FONT_LCID); 4004 4004 GpiAssociate(pAD->hps, 0); 4005 4005 GpiDestroyPS(pAD->hps); … … 4017 4017 "Seeall.Fattrs", &pAD->fattrs, sizeof(pAD->fattrs)); 4018 4018 Fattrs = pAD->fattrs; 4019 GpiDeleteSetId(pAD->hps, FIXED_FONT_LCID);4019 GpiDeleteSetId(pAD->hps, SEEALLFILECNR_FONT_LCID); 4020 4020 GpiAssociate(pAD->hps, 0); 4021 4021 GpiDestroyPS(pAD->hps); … … 4361 4361 } 4362 4362 if (pAD->hps) { 4363 GpiDeleteSetId(pAD->hps, FIXED_FONT_LCID);4363 GpiDeleteSetId(pAD->hps, SEEALLFILECNR_FONT_LCID); 4364 4364 GpiAssociate(pAD->hps, 0); 4365 4365 GpiDestroyPS(pAD->hps);
Note:
See TracChangeset
for help on using the changeset viewer.