Changeset 1433 for trunk/dll/seeall.c


Ignore:
Timestamp:
Jun 23, 2009, 12:47:44 AM (16 years ago)
Author:
Gregg Young
Message:

Rename different occurences of FIXED_FONT_LCID and give each a different value.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/seeall.c

    r1402 r1433  
    147147#define DP_EXTS         0x0010
    148148
    149 #define FIXED_FONT_LCID 5
     149#define SEEALLFILECNR_FONT_LCID 15
    150150
    151151#define COLORS_MAX                   8
     
    22862286    if (hps) {
    22872287      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);
    22902290      GpiQueryFontMetrics(hps, sizeof(FontMetrics), &FontMetrics);
    22912291      ad->fattrs.lAveCharWidth = FontMetrics.lAveCharWidth;
     
    40014001                              "Seeall.Codepage",
    40024002                              &pAD->fattrs.usCodePage, sizeof(USHORT));
    4003           GpiDeleteSetId(pAD->hps, FIXED_FONT_LCID);
     4003          GpiDeleteSetId(pAD->hps, SEEALLFILECNR_FONT_LCID);
    40044004          GpiAssociate(pAD->hps, 0);
    40054005          GpiDestroyPS(pAD->hps);
     
    40174017                          "Seeall.Fattrs", &pAD->fattrs, sizeof(pAD->fattrs));
    40184018      Fattrs = pAD->fattrs;
    4019       GpiDeleteSetId(pAD->hps, FIXED_FONT_LCID);
     4019      GpiDeleteSetId(pAD->hps, SEEALLFILECNR_FONT_LCID);
    40204020      GpiAssociate(pAD->hps, 0);
    40214021      GpiDestroyPS(pAD->hps);
     
    43614361      }
    43624362      if (pAD->hps) {
    4363         GpiDeleteSetId(pAD->hps, FIXED_FONT_LCID);
     4363        GpiDeleteSetId(pAD->hps, SEEALLFILECNR_FONT_LCID);
    43644364        GpiAssociate(pAD->hps, 0);
    43654365        GpiDestroyPS(pAD->hps);
Note: See TracChangeset for help on using the changeset viewer.