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

    r1398 r1498  
    77
    88  Copyright (c) 1993-98 M. Kimes
    9   Copyright (c) 2005, 2009 Steven H.Levine
     9  Copyright (c) 2005, 2010 Steven H.Levine
    1010
    1111  10 Jan 05 SHL Allow DND_TARGET to hold CCHMAXPATH
     
    1414  20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat
    1515  29 Nov 08 GKY Add flag to tell CheckListProc file is in an archive so it won't try to open it.
     16  17 JAN 10 GKY Changes to get working with Watcom 1.9 Beta (1/16/10). Mostly cast CHAR CONSTANT * as CHAR *.
    1617
    1718***********************************************************************/
     
    374375      switch (SHORT2FROMMP(mp1)) {
    375376      case LN_SETFOCUS:
    376         WinSetDlgItemText(hwnd, DND_HELP, GetPString(IDS_DNDLISTBOXHELPTEXT));
     377        WinSetDlgItemText(hwnd, DND_HELP, (CHAR *) GetPString(IDS_DNDLISTBOXHELPTEXT));
    377378        break;
    378379      case LN_KILLFOCUS:
    379         WinSetDlgItemText(hwnd, DND_HELP, GetPString(IDS_DNDHELPTEXT));
     380        WinSetDlgItemText(hwnd, DND_HELP, (CHAR *) GetPString(IDS_DNDHELPTEXT));
    380381        break;
    381382      case LN_ENTER:
     
    400401      switch (SHORT2FROMMP(mp1)) {
    401402      case EN_SETFOCUS:
    402         WinSetDlgItemText(hwnd, DND_HELP, GetPString(IDS_DNDTARGETHELPTEXT));
     403        WinSetDlgItemText(hwnd, DND_HELP, (CHAR *) GetPString(IDS_DNDTARGETHELPTEXT));
    403404        break;
    404405      case EN_KILLFOCUS:
    405         WinSetDlgItemText(hwnd, DND_HELP, GetPString(IDS_DNDHELPTEXT));
     406        WinSetDlgItemText(hwnd, DND_HELP, (CHAR *) GetPString(IDS_DNDHELPTEXT));
    406407        break;
    407408      }
Note: See TracChangeset for help on using the changeset viewer.