Changeset 1482 for trunk/dll/datamin.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/datamin.c

    r1480 r1482  
    2929  08 Mar 09 GKY Renamed commafmt.h i18nutil.h
    3030  12 Jul 09 GKY Add xDosQueryAppType and xDosAlloc... to allow FM/2 to load in high memory
     31  13 Dec 09 GKY Fixed separate paramenters. Please note that appname should be used in
     32                profile calls for user settings that work and are setable in more than one
     33                miniapp; FM3Str should be used for setting only relavent to FM/2 or that
     34                aren't user settable; realappname should be used for setting applicable to
     35                one or more miniapp but not to FM/2
    3136
    3237***********************************************************************/
     
    491496    case MINI_BORING:
    492497      fDullMin = (fDullMin) ? FALSE : TRUE;
    493       PrfWriteProfileData(fmprof,
    494                           FM3Str, "DullDatabar", &fDullMin, sizeof(BOOL));
     498      PrfWriteProfileData(fmprof, appname, "DullDatabar", &fDullMin, sizeof(BOOL));
    495499      if (G_hevDataMin != NULLHANDLE) {
    496500        rc = DosPostEventSem(G_hevDataMin);
     
    507511      if (SHORT1FROMMP(mp1) == MINI_SHOW) {
    508512        fDataShowDrives = (fDataShowDrives) ? FALSE : TRUE;
    509         PrfWriteProfileData(fmprof,
    510                             appname,
    511                             "DataShowDrives", &fDataShowDrives, sizeof(BOOL));
     513        PrfWriteProfileData(fmprof, appname, "DataShowDrives",
     514                            &fDataShowDrives, sizeof(BOOL));
    512515      }
    513516      else {
    514517        fDataInclRemote = (fDataInclRemote) ? FALSE : TRUE;
    515         PrfWriteProfileData(fmprof,
    516                             appname,
    517                             "DataInclRemote", &fDataInclRemote, sizeof(BOOL));
     518        PrfWriteProfileData(fmprof, appname, "DataInclRemote",
     519                            &fDataInclRemote, sizeof(BOOL));
    518520      }
    519521      {
     
    535537    case MINI_FLOAT:
    536538      fDataToFore = (fDataToFore) ? FALSE : TRUE;
    537       PrfWriteProfileData(fmprof,
    538                           appname, "DataToFore", &fDataToFore, sizeof(BOOL));
     539      PrfWriteProfileData(fmprof, appname, "DataToFore", &fDataToFore, sizeof(BOOL));
    539540      if (!hwndMain) {
    540541
Note: See TracChangeset for help on using the changeset viewer.