IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 30420


Ignore:
Timestamp:
Jan 28, 2011, 3:14:10 PM (15 years ago)
Author:
bills
Message:

fix bug with limit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tags/ipp-20101215/ippTools/src/magictool.c

    r30417 r30420  
    979979        if (len) {
    980980            if (limit) {
    981                 if (limit < psArrayLength(output)) {
     981                if (limit <= len) {
    982982                    // truncate the array
    983983                    long arrayLength = psArrayLength(output);
Note: See TracChangeset for help on using the changeset viewer.