Changeset 1498 for trunk/dll/killproc.c


Ignore:
Timestamp:
Jan 18, 2010, 1:57:01 AM (16 years ago)
Author:
Gregg Young
Message:

Changes to get FM2 to compile with the latest watcom 1.9 beta (mostly type casts of CHAR CONSTANT * to CHAR *). Changes to get the environment settings working everywhere again (broken by the change that moved commands to the INI); Added an environment size variable (set to 2048 which was the largest I found hard coded). Still need to find everywhere the environment size is set and use this variable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/killproc.c

    r1482 r1498  
    77
    88  Copyright (c) 1993-98 M. Kimes
    9   Copyright (c) 2005, 2008 Steven H. Levine
     9  Copyright (c) 2005, 2010 Steven H. Levine
    1010
    1111  24 May 05 SHL Rework Win_Error usage
     
    2727                aren't user settable; realappname should be used for setting applicable to
    2828                one or more miniapp but not to FM/2
     29  17 JAN 10 GKY Changes to get working with Watcom 1.9 Beta (1/16/10). Mostly cast CHAR CONSTANT * as CHAR *.
    2930
    3031***********************************************************************/
     
    388389    case KILL_CHECKBOX:
    389390      fUseQProcStat = WinQueryButtonCheckstate(hwnd, KILL_CHECKBOX);
    390       PrfWriteProfileData(fmprof, FM3Str, "UseQProcStat",
     391      PrfWriteProfileData(fmprof, (CHAR *) FM3Str, "UseQProcStat",
    391392                          &fUseQProcStat, sizeof(BOOL));
    392393      PostMsg(hwnd, WM_COMMAND, MPFROM2SHORT(KILL_RESCAN, 0), MPVOID);
     
    400401    case KILL2_CHECKBOX:
    401402      fUseQSysState = WinQueryButtonCheckstate(hwnd, KILL2_CHECKBOX);
    402       PrfWriteProfileData(fmprof, FM3Str, "UseQSysState",
     403      PrfWriteProfileData(fmprof, (CHAR *) FM3Str, "UseQSysState",
    403404                          &fUseQSysState, sizeof(BOOL));
    404405      PostMsg(hwnd, WM_COMMAND, MPFROM2SHORT(KILL_RESCAN, 0), MPVOID);
Note: See TracChangeset for help on using the changeset viewer.