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

    r1391 r1498  
    77
    88  Copyright (c) 1993-98 M. Kimes
    9   Copyright (c) 2006, 2008 Steven H.Levine
     9  Copyright (c) 2006, 2010 Steven H.Levine
    1010
    1111  14 Jul 06 SHL Use Runtime_Error
    1212  20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat
    1313  11 Jan 09 GKY Moved codepage names to a character array here from the string file.
     14  17 JAN 10 GKY Changes to get working with Watcom 1.9 Beta (1/16/10). Mostly cast CHAR CONSTANT * as CHAR *.
    1415
    1516***********************************************************************/
     
    9394                      PICK_INPUT,
    9495                      EM_SETTEXTLIMIT, MPFROM2SHORT(256, 0), MPVOID);
    95     WinSetWindowText(hwnd, GetPString(IDS_PICKCODEPAGETEXT));
     96    WinSetWindowText(hwnd, (CHAR *) GetPString(IDS_PICKCODEPAGETEXT));
    9697    PostMsg(hwnd, UM_STRETCH, MPVOID, MPVOID);
    9798    break;
Note: See TracChangeset for help on using the changeset viewer.