Changeset 1394 for trunk/dll/grep2.c


Ignore:
Timestamp:
Feb 5, 2009, 5:17:25 AM (17 years ago)
Author:
Steven Levine
Message:

Ticket 340: Convert GetPString to use STRINGTABLE.

Drop fm3dll.str and mkstr.exe from makefiles and wpi builders

Convert many functions to expect PCSZ arguments.
Correct walk, compare and dirsizes dialog setups to ignore saved dialog size
Drop copyright.c logic from makefile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/grep2.c

    r1375 r1394  
    77
    88  Copyright (c) 1993-98 M. Kimes
    9   Copyright (c) 2004, 2008 Steven H. Levine
     9  Copyright (c) 2004, 2009 Steven H. Levine
    1010
    1111  01 Aug 04 SHL Rework lstrip/rstrip usage
     
    8484      *(CHAR *)mp2 = 0;
    8585      {
    86         CHAR *p;
    87         CHAR *pp;
     86        PCSZ p;
     87        PSZ pp;
    8888
    8989        p = GetPString(IDS_ENVVARNAMES);
     
    239239    WinSetDlgItemText(hwnd, GREP_MASK, lastmask);
    240240    WinSendDlgItemMsg(hwnd,
    241                       GREP_MASK, EM_SETSEL, MPFROM2SHORT(0, 8192), MPVOID);
     241                      GREP_MASK, EM_SETSEL, MPFROM2SHORT(0, 8192), MPVOID);
    242242    size = sizeof(BOOL);
    243243    PrfQueryProfileData(fmprof, FM3Str, "RememberFlagsGrep",
     
    247247      size = sizeof(BOOL);
    248248      PrfQueryProfileData(fmprof, FM3Str, "Grep_Recurse",
    249                           (PVOID) & recurse, &size);
     249                          (PVOID) & recurse, &size);
    250250      size = sizeof(BOOL);
    251251      PrfQueryProfileData(fmprof, FM3Str, "Grep_Absolute",
    252                           (PVOID) & absolute, &size);
     252                          (PVOID) & absolute, &size);
    253253      size = sizeof(BOOL);
    254254      PrfQueryProfileData(fmprof, FM3Str, "Grep_Case",
    255                           (PVOID) & sensitive, &size);
     255                          (PVOID) & sensitive, &size);
    256256      size = sizeof(BOOL);
    257257      PrfQueryProfileData(fmprof, FM3Str, "Grep_Sayfiles",
    258                           (PVOID) & sayfiles, &size);
     258                          (PVOID) & sayfiles, &size);
    259259      size = sizeof(BOOL);
    260260      PrfQueryProfileData(fmprof, FM3Str, "Grep_Searchfiles",
    261                           (PVOID) & searchFiles, &size);
     261                          (PVOID) & searchFiles, &size);
    262262      size = sizeof(BOOL);
    263263      PrfQueryProfileData(fmprof, FM3Str, "Grep_SearchfEAs",
Note: See TracChangeset for help on using the changeset viewer.