Changeset 1482 for trunk/dll/dircnrs.c


Ignore:
Timestamp:
Dec 13, 2009, 8:59:47 PM (16 years ago)
Author:
Gregg Young
Message:

Fixed separate parameters; added the ability to set it either globally or for just one app; some files only contain white space changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/dircnrs.c

    r1459 r1482  
    6969  14 Sep 09 SHL Drop experimental code
    7070  15 Sep 09 SHL Show rescan progress while filling container
     71  13 Dec 09 GKY Fixed separate paramenters. Please note that appname should be used in
     72                profile calls for user settings that work and are setable in more than one
     73                miniapp; FM3Str should be used for setting only relavent to FM/2 or that
     74                aren't user settable; realappname should be used for setting applicable to
     75                one or more miniapp but not to FM/2
    7176
    7277***********************************************************************/
     
    15571562          ULONG size = sizeof(ULONG);
    15581563
    1559           PrfQueryProfileData(fmprof,
    1560                               appname,
    1561                               "DirflWindowAttr",
     1564          PrfQueryProfileData(fmprof, appname, "DirflWindowAttr",
    15621565                              (PVOID) & cnri.flWindowAttr, &size);
    15631566          size = sizeof(MASK);
    15641567          if (!*dcd->mask.szMask &&
    15651568              !dcd->mask.attrFile && !dcd->mask.antiattr) {
    1566             if (PrfQueryProfileSize(fmprof,
    1567                                     appname, "DirFilter", &size) && size) {
    1568               PrfQueryProfileData(fmprof,
    1569                                   appname, "DirFilter", &dcd->mask, &size);
     1569            if (PrfQueryProfileSize(fmprof, appname, "DirFilter", &size) && size) {
     1570              PrfQueryProfileData(fmprof, appname, "DirFilter", &dcd->mask, &size);
    15701571              SetMask(dcd->mask.szMask, &dcd->mask);
    15711572            }
     
    34893490      WinQueryWindowPos(dcd->hwndFrame, &swp);
    34903491      if (!(swp.fl & (SWP_HIDE | SWP_MINIMIZE | SWP_MAXIMIZE)))
    3491         PrfWriteProfileData(fmprof,
    3492                             appname, "VDirSizePos", &swp, sizeof(swp));
     3492        PrfWriteProfileData(fmprof, appname, "VDirSizePos", &swp, sizeof(swp));
    34933493    }
    34943494    break;
     
    38113811
    38123812            WinQueryTaskSizePos(WinQueryAnchorBlock(hwndFrame), 0, &swp);
    3813             if (PrfQueryProfileData(fmprof,
    3814                                     appname, "VDirSizePos", &swpD, &size)) {
     3813            if (PrfQueryProfileData(fmprof, appname, "VDirSizePos", &swpD, &size)) {
    38153814              cxScreen = WinQuerySysValue(HWND_DESKTOP, SV_CXSCREEN);
    38163815              cyScreen = WinQuerySysValue(HWND_DESKTOP, SV_CYSCREEN);
Note: See TracChangeset for help on using the changeset viewer.