Changeset 31 for trunk/dll


Ignore:
Timestamp:
Oct 17, 2002, 1:26:41 AM (23 years ago)
Author:
root
Message:

Minor edits

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/filldir.c

    r2 r31  
     1
     2/***********************************************************************
     3
     4  $Id$
     5
     6  Fill Directory Tree Containers
     7
     8  Copyright (c) 1993-98 M. Kimes
     9  Copyright (c) 2001, 2002 Steven H.Levine
     10
     11  Revisions     12 Sep 02 SHL - Minor edits
     12
     13***********************************************************************/
     14
     15
    116#define INCL_DOS
    217#define INCL_WIN
     
    3954ULONG FillInRecordFromFFB (HWND hwndCnr,PCNRITEM pci, const PSZ pszDirectory,
    4055                           const PFILEFINDBUF4 pffb,const BOOL partial,
    41                            DIRCNRDATA *dcd) {
     56                           DIRCNRDATA *dcd)
     57{
    4258
    4359  /* fill in a container record from a FILEFINDBUF4 structure */
     
    273289                           const PFILESTATUS4 pfsa4,
    274290                           const BOOL partial,
    275                            DIRCNRDATA *dcd) {
     291                           DIRCNRDATA *dcd)
     292{
    276293
    277294  HPOINTER       hptr;
     
    486503                        const CHAR *szDirBase, const BOOL filestoo,
    487504                        const BOOL recurse,const BOOL partial,
    488                         CHAR *stopflag,DIRCNRDATA *dcd,ULONG *foundany) {
     505                        CHAR *stopflag,DIRCNRDATA *dcd,ULONG *foundany)
     506{
    489507
    490508  /* put all the directories (and files if filestoo is TRUE) from a
     
    630648                                   MPFROMP(pciFirst),
    631649                                   MPFROMP(&ri))) {
     650
     651                      { // SHL
     652                        CHAR sz[80];
     653                        sprintf(sz, "rc = %d", rc);
     654                        WinMessageBox(HWND_DESKTOP,     /* Parent window */
     655                                      HWND_DESKTOP,     /* Owner window */
     656                                      sz,               /* Message */
     657                                      "Debug",          /* Title bar message */
     658                                      0,                /* Message identifier */
     659                                      MB_ENTER | MB_ICONEXCLAMATION | MB_MOVEABLE);
     660                      } // SHL
     661
    632662                      General_Error(WinQueryAnchorBlock(hwndCnr),
    633663                                    HWND_DESKTOP,
     
    753783              if(!WinSendMsg(hwndCnr,CM_INSERTRECORD,
    754784                             MPFROMP(pciFirst),MPFROMP(&ri))) {
     785
     786                { // SHL
     787                  CHAR sz[80];
     788                  sprintf(sz, "rc = %d", rc);
     789                  WinMessageBox(HWND_DESKTOP,           /* Parent window */
     790                                HWND_DESKTOP,           /* Owner window */
     791                                sz,                     /* Message */
     792                                "Debug",                /* Title bar message */
     793                                0,                      /* Message identifier */
     794                                MB_ENTER | MB_ICONEXCLAMATION | MB_MOVEABLE);
     795                } // SHL
     796
    755797                General_Error(WinQueryAnchorBlock(hwndCnr),
    756798                              HWND_DESKTOP,
Note: See TracChangeset for help on using the changeset viewer.