Ignore:
Timestamp:
Jul 23, 2000, 6:21:57 PM (25 years ago)
Author:
sandervl
Message:

update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sbliveos2/trunk/sblive/cardwo.c

    r152 r153  
    612612        k = (len > PAGE_SIZE - j) ? PAGE_SIZE - j : len;
    613613#ifdef TARGET_OS2
    614         memset((u8 *)pt[i] + j, val, k);
     614        if(k) {
     615                memset((u8 *)pt[i] + j, val, k);
     616        }
    615617#else
    616618        memset(pt[i] + j, val, k);
     
    621623                len -= PAGE_SIZE;
    622624        }
     625#ifdef TARGET_OS2
     626        if(len)
     627#endif
    623628        memset(pt[++i], val, len);
    624629
Note: See TracChangeset for help on using the changeset viewer.