Changeset 1435 for trunk/dll


Ignore:
Timestamp:
Jun 26, 2009, 10:25:47 PM (16 years ago)
Author:
Steven Levine
Message:

Update for OpenWatcom 1.9 compatibility
Add wipfc support (see USE_WIPFC)
Drop unused dialog

Location:
trunk/dll
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/dirsize.c

    r1402 r1435  
    332332    // easize = subdirectory usage in bytes
    333333    CommaFmtULL(szCurDir, sizeof(szCurDir), pci->cbFile, 'K');
    334     *szBar = NULL;
     334    *szBar = 0;
    335335    pci->pszLongName = NULL;
    336336    memset(szBuf, 0, sizeof(szBuf));
  • trunk/dll/filldir.c

    r1434 r1435  
    242242                                         DRIVE_VIRTUAL)) && fInitialDriveScan) {
    243243              if (!(driveflags[toupper(*StubbyScan->pci->pszFileName) - 'A'] &
    244                     ((fRScanNoWrite ? NULL : DRIVE_NOTWRITEABLE) |
    245                      (fRScanSlow ? NULL : DRIVE_SLOW)))) {
     244                    ((fRScanNoWrite ? 0 : DRIVE_NOTWRITEABLE) |
     245                     (fRScanSlow ? 0 : DRIVE_SLOW)))) {
    246246                WinSendMsg(StubbyScan->hwndCnr, CM_EXPANDTREE, MPFROMP(StubbyScan->pci), MPVOID);
    247247                //DbgMsg(pszSrcFile, __LINE__, "expanded %x %s", StubbyScan->hwndCnr, StubbyScan->pci->pszFileName);
  • trunk/dll/fm3res.dlg

    r1431 r1435  
    124124    END
    125125END
    126 
    127 #if 0 // 12 Jan 08 SHL fixme to be gone
    128 DLGTEMPLATE WALK_FRAME LOADONCALL MOVEABLE DISCARDABLE
    129 BEGIN
    130     DIALOG  "FM/2: Select a directory", WALK_FRAME, -50, -86, 314, 168,
    131             FS_MOUSEALIGN, FCF_TITLEBAR
    132     BEGIN
    133         CTEXT           "", WALK_HELP, 8, 158, 297, 8
    134                         PRESPARAMS PP_FOREGROUNDCOLOR, 0x00FFFFFFL
    135                         PRESPARAMS PP_BACKGROUNDCOLOR, 0x00000080L
    136         ICON            DID_OK, -1, 178, 21, 20, 16
    137         GROUPBOX        "User List:", -1, 168, 19, 143, 124, NOT WS_GROUP
    138         GROUPBOX        "", -1, 4, 2, 308, 18, NOT WS_GROUP
    139         ENTRYFIELD      "", WALK_PATH, 6, 4, 302, 10, WS_GROUP
    140         LISTBOX         WALK_DRIVELIST, 4, 38, 24, 116, LS_NOADJUSTPOS |
    141                         WS_GROUP
    142                         PRESPARAMS PP_FONTNAMESIZE, "10.System Monospaced"
    143         LISTBOX         WALK_DIRLIST, 30, 38, 134, 116, LS_NOADJUSTPOS |
    144                         LS_HORZSCROLL
    145         PUSHBUTTON      "Okay", DID_OK, 8, 20, 40, 14, WS_GROUP
    146         PUSHBUTTON      "~Help", IDM_HELP, 64, 20, 40, 14, BS_NOPOINTERFOCUS
    147         PUSHBUTTON      "Cancel", DID_CANCEL, 122, 20, 40, 14
    148         CONTROL         "", WALK_RECENT, 168, 10, 143, 144, WC_COMBOBOX,
    149                         CBS_DROPDOWN | LS_HORZSCROLL | WS_GROUP | WS_TABSTOP |
    150                         WS_VISIBLE
    151         LISTBOX         WALK_USERLIST, 171, 38, 137, 96, LS_NOADJUSTPOS |
    152                         LS_HORZSCROLL | WS_GROUP
    153         PUSHBUTTON      "~Add", WALK_ADD, 214, 22, 40, 14, BS_NOPOINTERFOCUS |
    154                         WS_GROUP
    155         PUSHBUTTON      "~Delete", WALK_DELETE, 265, 22, 40, 14,
    156                         BS_NOPOINTERFOCUS
    157     END
    158 END
    159 #endif // 12 Jan 08 SHL
    160126
    161127DLGTEMPLATE AD_FRAME LOADONCALL MOVEABLE DISCARDABLE
  • trunk/dll/ipf/Makefile

    r691 r1435  
    22# $Id$
    33
    4 # Copyright (c) 2006, 2007 Steven H. Levine
     4# Copyright (c) 2006, 2009 Steven H. Levine
    55
    66# 19 Oct 06 SHL Baseline
    77# 15 Jun 07 SHL Update for OpenWatcom
     8# 25 Apr 09 SHL Support wipfc
     9
     10!ifndef USE_WIPFC                       # if not defined on command line
     11!ifdef %USE_WIPFC                       # if defined in environment
     12USE_WIPFC = $(%USE_WIPFC)
     13!endif
     14!endif
     15
     16!ifdef USE_WIPFC
     17IPFC = wipfc
     18IFLAGS = -l en_US
     19!else
     20IPFC = ipfc
     21IFLAGS = /CODEPAGE=850
     22!endif
    823
    924all: fm3.hlp .symbolic
    1025
    1126fm3.hlp: *.ipf bitmaps\*.bmp ..\..\bitmaps\*.bmp
    12   ipfc /CODEPAGE=850 fm3.ipf
     27  set WIPFC=$(%WATCOM)\wipfc
     28  $(IPFC) $(IFLAGS) fm3.ipf
    1329  ren fm3.hlp fm3.hlp
    1430
  • trunk/dll/tools.c

    r1402 r1435  
    736736        BOOL BadID = FALSE;
    737737
    738         help[0] = text[0] = NULL;
     738        help[0] = text[0] = 0;
    739739        WinQueryDlgItemText(hwnd, ADDBTN_HELP, 80, help);
    740740        WinQueryDlgItemText(hwnd, ADDBTN_TEXT, 80, text);
Note: See TracChangeset for help on using the changeset viewer.