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

    r1482 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  24 May 05 SHL Rework Win_Error usage
     
    3030                aren't user settable; realappname should be used for setting applicable to
    3131                one or more miniapp but not to FM/2
     32  17 JAN 10 GKY Changes to get working with Watcom 1.9 Beta (1/16/10). Mostly cast CHAR CONSTANT * as CHAR *.
    3233
    3334***********************************************************************/
     
    370371                   GetPString(IDS_LANERROR2TEXT));
    371372            NoBrokenNotify = 255;
    372             PrfWriteProfileData(fmprof, FM3Str, "NoBrokenNotify",
     373            PrfWriteProfileData(fmprof, (CHAR *) FM3Str, "NoBrokenNotify",
    373374                                &NoBrokenNotify, sizeof(ULONG));
    374375          }
     
    376377        else {
    377378          NoBrokenNotify--;
    378           PrfWriteProfileData(fmprof, FM3Str, "NoBrokenNotify",
     379          PrfWriteProfileData(fmprof, (CHAR *) FM3Str, "NoBrokenNotify",
    379380                              &NoBrokenNotify, sizeof(ULONG));
    380381        }
     
    439440                       GetPString(IDS_FSDERROR2TEXT));
    440441                NoBrokenNotify = 255;
    441                 PrfWriteProfileData(fmprof, FM3Str, "NoBrokenNotify",
     442                PrfWriteProfileData(fmprof, (CHAR *) FM3Str, "NoBrokenNotify",
    442443                                    &NoBrokenNotify, sizeof(ULONG));
    443444              }
     
    445446            else {
    446447              NoBrokenNotify--;
    447               PrfWriteProfileData(fmprof, FM3Str, "NoBrokenNotify",
     448              PrfWriteProfileData(fmprof, (CHAR *) FM3Str, "NoBrokenNotify",
    448449                                  &NoBrokenNotify, sizeof(ULONG));
    449450            }
Note: See TracChangeset for help on using the changeset viewer.