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

    r1402 r1498  
    55
    66  Copyright (c) 1993-98 M. Kimes
    7   Copyright (c) 2004, 2007 Steven H.Levine
     7  Copyright (c) 2004, 2010 Steven H.Levine
    88
    99  Revisions
     
    1818  08 Mar 09 GKY Renamed commafmt.h i18nutil.h
    1919  08 Mar 09 GKY Removed variable aurguments from docopyf and unlinkf (not used)
     20  17 JAN 10 GKY Changes to get working with Watcom 1.9 Beta (1/16/10). Mostly cast CHAR CONSTANT * as CHAR *.
    2021
    2122***********************************************************************/
     
    123124        else
    124125          WinSetDlgItemText(hwnd,
    125                             REN_SOURCEINFO, GetPString(IDS_DOESNTEXIST2TEXT));
     126                            REN_SOURCEINFO, (CHAR *) GetPString(IDS_DOESNTEXIST2TEXT));
    126127        strcpy(chkname, mv->target);
    127128        p = strrchr(s, '\\');
     
    150151        else {
    151152          WinSetDlgItemText(hwnd,
    152                             REN_TARGETINFO, GetPString(IDS_DOESNTEXIST2TEXT));
     153                            REN_TARGETINFO, (CHAR *) GetPString(IDS_DOESNTEXIST2TEXT));
    153154          WinEnableWindow(WinWindowFromID(hwnd, REN_RENEXIST), FALSE);
    154155        }
Note: See TracChangeset for help on using the changeset viewer.