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

    r1402 r1498  
    55
    66  Copyright (c) 1993, 1998 M. Kimes
    7   Copyright (c) 2004, 2009 Steven H.Levine
     7  Copyright (c) 2004, 2010 Steven H.Levine
    88
    99  01 Aug 04 SHL Rework lstrip/rstrip usage
     
    1616  19 Jul 08 GKY Replace save_dir2(dir) with pFM2SaveDirectory and use BldFullPathName
    1717  24 Aug 08 GKY Warn full drive on save of .DAT file; prevent loss of existing file
     18  17 JAN 10 GKY Changes to get working with Watcom 1.9 Beta (1/16/10). Mostly cast CHAR CONSTANT * as CHAR *.
    1819
    1920***********************************************************************/
     
    333334                  WinSetDlgItemText(hwnd,
    334335                                    MAP_ATTACHTO,
    335                                     GetPString(IDS_UNKNOWNBRKTTEXT));
     336                                    (CHAR *) GetPString(IDS_UNKNOWNBRKTTEXT));
    336337              }
    337338              else
    338339                WinSetDlgItemText(hwnd,
    339340                                  MAP_ATTACHTO,
    340                                   GetPString(IDS_UNKNOWNBRKTTEXT));
     341                                  (CHAR *) GetPString(IDS_UNKNOWNBRKTTEXT));
    341342            }
    342343          }
Note: See TracChangeset for help on using the changeset viewer.