Ignore:
Timestamp:
Sep 26, 1999, 1:01:11 PM (26 years ago)
Author:
achimha
Message:

merged latest WINE 990923 changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/comctl32/comctl32undoc.c

    r722 r1058  
    1 /* $Id: comctl32undoc.c,v 1.11 1999-08-28 09:25:56 achimha Exp $ */
     1/* $Id: comctl32undoc.c,v 1.12 1999-09-26 11:01:08 achimha Exp $ */
    22/*
    33 * Undocumented functions from COMCTL32.DLL
     
    1212 */
    1313
    14 /* WINE 990815 level */
     14/* WINE 990923 level */
    1515
    1616/* CB: todo
     
    689689            /* resize the block of memory */
    690690            nNewItems =
    691                 hdsa->nGrow * ((INT)((nIndex - 1) / hdsa->nGrow) + 1);
     691                hdsa->nGrow * ((INT)(((nIndex + 1) - 1) / hdsa->nGrow) + 1);
    692692            nSize = hdsa->nItemSize * nNewItems;
    693693
     
    11951195            /* resize the block of memory */
    11961196            INT nNewItems =
    1197                 hdpa->nGrow * ((INT)((i - 1) / hdpa->nGrow) + 1);
     1197                hdpa->nGrow * ((INT)(((i+1) - 1) / hdpa->nGrow) + 1);
    11981198            INT nSize = nNewItems * sizeof(LPVOID);
    11991199
Note: See TracChangeset for help on using the changeset viewer.