Changeset 1498 for trunk/dll/input.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/input.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  28 May 05 SHL Use saymsg
     
    1313  22 Mar 07 GKY Use QWL_USER
    1414  20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat
     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***********************************************************************/
     
    5556    }
    5657    if (psip->prompt && *psip->prompt)
    57       WinSetDlgItemText(hwnd, STR_PROMPT, psip->prompt);
     58      WinSetDlgItemText(hwnd, STR_PROMPT, (CHAR *) psip->prompt);
    5859    if (psip->ret && *psip->ret) {
    5960      WinSetDlgItemText(hwnd, STR_INPUT, psip->ret);
     
    6364    *psip->ret = 0;
    6465    if (psip->title && *psip->title)
    65       WinSetWindowText(hwnd, psip->title);
     66      WinSetWindowText(hwnd, (CHAR *) psip->title);
    6667    break;
    6768
Note: See TracChangeset for help on using the changeset viewer.