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

    r1455 r1498  
    66
    77  Copyright (c) 1993-98 M. Kimes
    8   Copyright (c) 2006, 2009 Steven H.Levine
     8  Copyright (c) 2006, 2010 Steven H.Levine
    99
    1010  17 Jul 06 SHL Use Win_Error
     
    2020  13 Jul 09 SHL Sync with renames
    2121  16 Jul 09 SHL Stop leaking hptrIcon
     22  17 JAN 10 GKY Changes to get working with Watcom 1.9 Beta (1/16/10). Mostly cast CHAR CONSTANT * as CHAR *.
    2223
    2324***********************************************************************/
     
    211212
    212213    hwnd = WinCreateWindow(hwndP,
    213                            WC_ERRORWND,
     214                           (CHAR *) WC_ERRORWND,
    214215                           p,
    215216                           SS_TEXT | DT_LEFT | DT_VCENTER | WS_VISIBLE,
     
    307308    fThreadNotes = TRUE;
    308309    PrfWriteProfileData(fmprof,
    309                         FM3Str,
     310                        (CHAR *) FM3Str,
    310311                        "ThreadNotes",
    311312                        &fThreadNotes,
     
    344345
    345346      if (PrfQueryProfileData(fmprof,
    346                               FM3Str, "NoteWndSwp", (PVOID) & swp, &size)) {
     347                              (CHAR *) FM3Str, "NoteWndSwp", (PVOID) & swp, &size)) {
    347348        if (swp.fl & (SWP_HIDE | SWP_MINIMIZE)) {
    348349          fl |= SWP_MINIMIZE;
     
    389390        }
    390391        PrfWriteProfileData(fmprof,
    391                             FM3Str, "NoteWndSwp", (PVOID) & swp, sizeof(SWP));
     392                            (CHAR *) FM3Str, "NoteWndSwp", (PVOID) & swp, sizeof(SWP));
    392393      }
    393394    }
     
    476477      fThreadNotes = FALSE;             // Remember not open
    477478      PrfWriteProfileData(fmprof,
    478                           FM3Str, "ThreadNotes", &fThreadNotes, sizeof(BOOL));
     479                          (CHAR *) FM3Str, "ThreadNotes", &fThreadNotes, sizeof(BOOL));
    479480      hwndNotify = (HWND)0;
    480481    }
Note: See TracChangeset for help on using the changeset viewer.