Changeset 1391 for trunk/dll/viewinf.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/viewinf.c

    r1335 r1391  
    1616  19 Jul 08 GKY Replace save_dir2(dir) with pFM2SaveDirectory and use BldFullPathName
    1717  10 Dec 08 SHL Integrate exception handler support
     18  11 Jan 09 GKY Replace font names in the string file with global set at compile in init.c
    1819
    1920***********************************************************************/
     
    252253      }
    253254      else {
     255        //fixme to allow user to change presparams 1-10-09 GKY
    254256        WinSetPresParam(WinWindowFromID(hwnd, VINF_LISTBOX),
    255257                        PP_FONTNAMESIZE,
    256                         strlen(GetPString(IDS_10SYSTEMMONOTEXT)) + 1,
    257                         (PVOID) GetPString(IDS_10SYSTEMMONOTEXT));
     258                        strlen("10.System Monospaced") + 1,
     259                        "10.System Monospaced");
    258260      }
    259261      WinSetWindowText(hwnd, GetPString(IDS_VIEWHELPFILESTEXT));
Note: See TracChangeset for help on using the changeset viewer.