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

    r1482 r1498  
    77
    88  Copyright (c) 1993-98 M. Kimes
    9   Copyright (c) 2001, 2008 Steven H. Levine
     9  Copyright (c) 2001, 2010 Steven H. Levine
    1010
    1111  14 Sep 02 SHL Handle large partitions
     
    3434                aren't user settable; realappname should be used for setting applicable to
    3535                one or more miniapp but not to FM/2
     36  17 JAN 10 GKY Changes to get working with Watcom 1.9 Beta (1/16/10). Mostly cast CHAR CONSTANT * as CHAR *.
    3637
    3738***********************************************************************/
     
    261262      for (c = 0; ids[c]; c++) {
    262263        if (!WinCreateWindow(hwnd,
    263                              WC_MINITIME,
     264                             (CHAR *) WC_MINITIME,
    264265                             NullStr,
    265266                             SS_TEXT | DT_CENTER | DT_VCENTER | WS_VISIBLE,
     
    322323          if ((ulDriveMap & (1L << c)) && !(driveflags[c] & drivestyle)) {
    323324            if (!WinCreateWindow(hwnd,
    324                                  WC_MINITIME,
     325                                 (CHAR *) WC_MINITIME,
    325326                                 NullStr,
    326327                                 SS_TEXT | DT_CENTER | DT_VCENTER |
     
    10091010                         WS_VISIBLE,
    10101011                         &FrameFlags,
    1011                          WC_DATABAR,
     1012                         (CHAR *) WC_DATABAR,
    10121013                         NULL, WS_VISIBLE, 0, MINI_FRAME, &hwndClient)) {
    10131014    WinSendMsg(hwndClient, UM_RESTORE, MPFROMLONG(fl), MPVOID);
Note: See TracChangeset for help on using the changeset viewer.