Changeset 1757 for trunk/src


Ignore:
Timestamp:
Nov 16, 1999, 7:07:55 PM (26 years ago)
Author:
bird
Message:

Corrected a bug in addEntry and addForwarder, incorrect calculation of
ordinals in skip bundle.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/win32k/pe2lx/pe2lx.cpp

    r1756 r1757  
    1 /* $Id: pe2lx.cpp,v 1.10 1999-11-16 17:09:31 bird Exp $
     1/* $Id: pe2lx.cpp,v 1.11 1999-11-16 18:07:55 bird Exp $
    22 *
    33 * Pe2Lx class implementation. Ring 0 and Ring 3
     
    34373437        /* Add unused entry which skips to the new ordinal - 1.*/
    34383438        pBundle = (struct b32_bundle *)((ULONG)pEntryBundles + offCurEntryBundle);
    3439         pBundle->b32_cnt = (UCHAR)(ulOrdinal - ulLastOrdinal + 1);
     3439        pBundle->b32_cnt = (UCHAR)(ulOrdinal - ulLastOrdinal - 1);
    34403440        pBundle->b32_type = EMPTY;
    34413441
     
    36253625        /* Add unused entry which skips to the new ordinal - 1.*/
    36263626        pBundle = (struct b32_bundle *)((ULONG)pEntryBundles + offCurEntryBundle);
    3627         pBundle->b32_cnt = (UCHAR)(ulOrdinal - ulLastOrdinal + 1);
     3627        pBundle->b32_cnt = (UCHAR)(ulOrdinal - ulLastOrdinal - 1);
    36283628        pBundle->b32_type = EMPTY;
    36293629
Note: See TracChangeset for help on using the changeset viewer.