Ignore:
Timestamp:
Dec 14, 2002, 7:13:40 PM (23 years ago)
Author:
umoeller
Message:

Misc changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/helpers/exeh.c

    r229 r236  
    14551455
    14561456    if (usOrdinal > pFunction->ulOrdinal)
    1457         return (1);
     1457        return 1;
    14581458    else if (usOrdinal < pFunction->ulOrdinal)
    1459         return (-1);
    1460     else
    1461         return (0);
     1459        return -1;
     1460
     1461    return 0;
    14621462}
    14631463
     
    24452445            }
    24462446
    2447 
    24482447            /*
    24492448             *  0  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15
     
    25122511                return ERROR_BAD_FORMAT;
    25132512            }
    2514 
    25152513
    25162514            /*
     
    27662764
    27672765    if (!(pLXHeader = pExec->pLXHeader))
    2768         return (ERROR_INVALID_EXE_SIGNATURE);
     2766        return ERROR_INVALID_EXE_SIGNATURE;
    27692767
    27702768    if (pExec->pDosExeHeader)
     
    27742772    if (!(cResources = pLXHeader->ulResTblCnt))
    27752773        // no resources at all:
    2776         return (ERROR_NO_DATA);
     2774        return ERROR_NO_DATA;
    27772775
    27782776    if (!pExec->fLXMapsLoaded)
     
    30373035                                        pNEHeader->usResTblOfs
    30383036                                          + ulNewHeaderOfs
    3039                                           - cb, // pNEHeader->usResSegmCount * sizeof(struct new_seg)
     3037                                          - cb,
    30403038                                        &cb,
    30413039                                        (PBYTE)pExec->paOS2NESegments,
     
    31223120
    31233121    if (!(pNEHeader = pExec->pNEHeader))
    3124         return (ERROR_INVALID_EXE_SIGNATURE);
     3122        return ERROR_INVALID_EXE_SIGNATURE;
    31253123
    31263124    if (pExec->pDosExeHeader)
     
    31323130    if (!(cResources = pNEHeader->usResSegmCount))
    31333131        // no resources at all:
    3134         return (ERROR_NO_DATA);
     3132        return ERROR_NO_DATA;
    31353133
    31363134    if (!pExec->fOS2NEMapsLoaded)
Note: See TracChangeset for help on using the changeset viewer.