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

    r1438 r1482  
    1111  20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat
    1212  28 Jun 09 GKY Added AddBackslashToPath() to remove repeatative code.
     13  13 Dec 09 GKY Fixed separate paramenters. Please note that appname should be used in
     14                profile calls for user settings that work and are setable in more than one
     15                miniapp; FM3Str should be used for setting only relavent to FM/2 or that
     16                aren't user settable; realappname should be used for setting applicable to
     17                one or more miniapp but not to FM/2
    1318
    1419***********************************************************************/
     
    127132      else
    128133        fKeepCmdLine = TRUE;
    129       PrfWriteProfileData(fmprof, FM3Str, "KeepCmdLine", &fKeepCmdLine,
     134      PrfWriteProfileData(fmprof, appname, "KeepCmdLine", &fKeepCmdLine,
    130135                          sizeof(BOOL));
    131136      ret = TRUE;
     
    137142      else
    138143        fSaveMiniCmds = TRUE;
    139       PrfWriteProfileData(fmprof, FM3Str, "SaveMiniCmds", &fSaveMiniCmds,
     144      PrfWriteProfileData(fmprof, appname, "SaveMiniCmds", &fSaveMiniCmds,
    140145                          sizeof(BOOL));
    141146      ret = TRUE;
Note: See TracChangeset for help on using the changeset viewer.