Changeset 1711 for trunk/dll/init.c


Ignore:
Timestamp:
Feb 9, 2014, 11:22:11 PM (12 years ago)
Author:
Gregg Young
Message:

Fix separate parameters. Moved to general page renamed separate settings for apps. Ticket 497

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/init.c

    r1710 r1711  
    113113  04 Aug 12 GKY Changes to allow copy and move over readonly files with a warning dialog; also added a warning dialog
    114114                for delete of readonly files
     115  09 Feb 14 GKY Fix separate parameters. Moved to general page renamed separate settings
     116                for apps.
    115117
    116118***********************************************************************/
     
    659661  CHAR *p;
    660662  ULONG size;
    661   BOOL fSeparateParmsApp;
    662663
    663664  strcpy(dllfile, PCSZ_FM3RES);
     
    949950  FindSwapperDat();
    950951
    951   size = sizeof(BOOL);
    952   PrfQueryProfileData(fmprof, FM3Str, "SeparateParms",
    953                       &fSeparateParms, &size);
    954   size = sizeof(BOOL);
    955   PrfQueryProfileData(fmprof, appname, "SeparateParms",
    956                       &fSeparateParmsApp, &size);
    957   if (!fSeparateParms && !fSeparateParmsApp)
    958     strcpy(appname, FM3Str);
    959 
    960952  // start help
    961953  memset(&hini, 0, sizeof(HELPINIT));
     
    12581250    * one or more miniapp but not to FM/2
    12591251    */
     1252  size = sizeof(BOOL); 
     1253  PrfQueryProfileData(fmprof, realappname, "AppSeparateSettings", &fAppSeparateSettings, &size);
     1254  if (!fAppSeparateSettings)
     1255    strcpy(appname, FM3Str);
     1256  else
     1257    strcpy(appname, realappname);
    12601258  size = sizeof(ULONG);
    12611259  PrfQueryProfileData(fmprof, appname, "MaxComLineStrg", &MaxComLineStrg, &size);
Note: See TracChangeset for help on using the changeset viewer.