Ignore:
Timestamp:
Sep 21, 1999, 10:24:53 AM (26 years ago)
Author:
sandervl
Message:

Fixes for icon(group) + cursorgroup conversion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/cvtcursorgrp.cpp

    r956 r997  
    1 /* $Id: cvtcursorgrp.cpp,v 1.3 1999-09-15 23:38:00 sandervl Exp $ */
     1/* $Id: cvtcursorgrp.cpp,v 1.4 1999-09-21 08:24:53 sandervl Exp $ */
    22
    33/*
     
    7474        }
    7575
    76         if(i != chdr->cwCount -1) {
    77                 bafh->offNext = (int)&bafh->bfh - (int)orgbafh + winres->getSize();
    78         }
    79         else    bafh->offNext = 0;
    80 
    8176        cursorhdr = (CursorComponent *)winres->lockResource();
    8277        os2cursor = ConvertCursor(cursorhdr, winres->getSize(), &os2cursorsize, (int)bafh - (int)orgbafh + sizeof(BITMAPARRAYFILEHEADER)-sizeof(BITMAPFILEHEADER));
     
    8883                continue;
    8984        }
     85
     86        if(i != chdr->cwCount -1) {
     87                bafh->offNext = (int)&bafh->bfh - (int)orgbafh + os2cursorsize;
     88        }
     89        else    bafh->offNext = 0;
    9090
    9191        memcpy((char *)&bafh->bfh, os2cursor, os2cursorsize);
Note: See TracChangeset for help on using the changeset viewer.