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

    r1497 r1498  
    4444  26 Jul 09 GKY Fix failure of containers to update when Tree container isn't open in FM2 lite
    4545  13 Dec 09 GKY Attempt to fix container update issues with FM/2 lite
     46  17 JAN 10 GKY Changes to get working with Watcom 1.9 Beta (1/16/10). Mostly cast CHAR CONSTANT * as CHAR *.
    4647
    4748***********************************************************************/
     
    11561157              if (DosSearchPath(SEARCH_IGNORENETERRS | SEARCH_ENVIRONMENT |
    11571158                                SEARCH_CUR_DIRECTORY,
    1158                                 PCSZ_PATH, PCSZ_FM2PLAYEXE, (PBYTE)fbuf, CCHMAXPATH - 1))
     1159                                (CHAR *) PCSZ_PATH, (CHAR *) PCSZ_FM2PLAYEXE, (PBYTE)fbuf, CCHMAXPATH - 1))
    11591160                total += MaxFM2playStrLen;
    11601161              else
     
    12051206                if (DosSearchPath(SEARCH_IGNORENETERRS | SEARCH_ENVIRONMENT |
    12061207                                  SEARCH_CUR_DIRECTORY,
    1207                                   PCSZ_PATH, PCSZ_FM2PLAYEXE, (PBYTE)fbuf, CCHMAXPATH - 1))
     1208                                  (CHAR *) PCSZ_PATH, (CHAR *) PCSZ_FM2PLAYEXE, (PBYTE)fbuf, CCHMAXPATH - 1))
    12081209                  strcpy(szBuffer, "UTILS\\FM2PLAY.EXE");
    12091210                else
Note: See TracChangeset for help on using the changeset viewer.