Changeset 1391 for trunk/dll/treecnr.c


Ignore:
Timestamp:
Jan 12, 2009, 12:55:53 AM (17 years ago)
Author:
Gregg Young
Message:

Move nontranslated strings to init.c and codepage.c; use those strings in place of GetPString calls. Move other strings to a StringTable; minor cleanup and code changes to codepage.c to use a string array instead of GetPString calls. Ticket 340

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/treecnr.c

    r1375 r1391  
    5858                and have no default choice.
    5959  01 Jan 09 GKY Add Seek and Scan to drives & directory context menus pass drive/dir as search root
     60  11 Jan 09 GKY Replace font names in the string file with global set at compile in init.c
    6061
    6162***********************************************************************/
     
    174175
    175176      rc = PFNWPButton(hwnd, msg, mp1, mp2);
     177      //fixme to allow user to change presparams 1-10-09 GKY
    176178      WinSetPresParam(hwnd, PP_FONTNAMESIZE,
    177                       strlen(GetPString(IDS_8TIMESNEWROMANTEXT)) + 1,
    178                       (PVOID) GetPString(IDS_8TIMESNEWROMANTEXT));
     179                      strlen(FNT_8TIMESNEWROMAN) + 1,
     180                      FNT_8TIMESNEWROMAN);
    179181      return rc;
    180182    }
Note: See TracChangeset for help on using the changeset viewer.