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

    r1438 r1498  
    77
    88  Copyright (c) 1993-98 M. Kimes
    9   Copyright (c) 2006, 2009 Steven H. Levine
     9  Copyright (c) 2006, 2010 Steven H. Levine
    1010
    1111  23 Aug 06 SHL Comments
     
    1313  08 Mar 09 GKY Removed variable aurguments from docopyf and unlinkf (not used)
    1414  28 Jun 09 GKY Added AddBackslashToPath() to remove repeatative code.
     15  17 JAN 10 GKY Changes to get working with Watcom 1.9 Beta (1/16/10). Mostly cast CHAR CONSTANT * as CHAR *.
    1516
    1617***********************************************************************/
     
    118119      case CBN_SHOWLIST:
    119120        WinSetDlgItemText(hwnd,
    120                           FDLG_HELP, GetPString(IDS_CLICKDRIVEHELPTEXT));
     121                          FDLG_HELP, (CHAR *) GetPString(IDS_CLICKDRIVEHELPTEXT));
    121122        break;
    122123      }
     
    127128      case EN_SETFOCUS:
    128129        WinSetDlgItemText(hwnd,
    129                           FDLG_HELP, GetPString(IDS_ENTERFILEORMASKHELPTEXT));
     130                          FDLG_HELP, (CHAR *) GetPString(IDS_ENTERFILEORMASKHELPTEXT));
    130131        break;
    131132      case EN_KILLFOCUS:
    132         WinSetDlgItemText(hwnd, FDLG_HELP, GetPString(IDS_NAMEDEFHELPTEXT));
     133        WinSetDlgItemText(hwnd, FDLG_HELP, (CHAR *) GetPString(IDS_NAMEDEFHELPTEXT));
    133134        break;
    134135      }
     
    139140      case LN_SETFOCUS:
    140141        WinSetDlgItemText(hwnd,
    141                           FDLG_HELP, GetPString(IDS_DBLCLKDIRSWITCHHELPTEXT));
     142                          FDLG_HELP, (CHAR *) GetPString(IDS_DBLCLKDIRSWITCHHELPTEXT));
    142143        break;
    143144      case LN_KILLFOCUS:
    144         WinSetDlgItemText(hwnd, FDLG_HELP, GetPString(IDS_NAMEDEFHELPTEXT));
     145        WinSetDlgItemText(hwnd, FDLG_HELP, (CHAR *) GetPString(IDS_NAMEDEFHELPTEXT));
    145146        break;
    146147      }
     
    151152      case LN_SETFOCUS:
    152153        WinSetDlgItemText(hwnd, FDLG_HELP,
    153                           GetPString(IDS_DBLCLKFILEUSEHELPTEXT));
     154                          (CHAR *) GetPString(IDS_DBLCLKFILEUSEHELPTEXT));
    154155        break;
    155156      case LN_KILLFOCUS:
    156         WinSetDlgItemText(hwnd, FDLG_HELP, GetPString(IDS_NAMEDEFHELPTEXT));
     157        WinSetDlgItemText(hwnd, FDLG_HELP, (CHAR *) GetPString(IDS_NAMEDEFHELPTEXT));
    157158        break;
    158159      }
     
    163164      case CBN_SHOWLIST:
    164165        WinSetDlgItemText(hwnd,
    165                           FDLG_HELP, GetPString(IDS_DBLCLKDIRSWITCHHELPTEXT));
     166                          FDLG_HELP, (CHAR *) GetPString(IDS_DBLCLKDIRSWITCHHELPTEXT));
    166167        break;
    167168      case CBN_ENTER:
Note: See TracChangeset for help on using the changeset viewer.