IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 6477


Ignore:
Timestamp:
Feb 23, 2006, 5:59:10 PM (20 years ago)
Author:
magnier
Message:

changed psRegionFromString to allow NULL string (meaning 0:0,0:0)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/rel10_ifa/psLib/src/mathtypes/psImage.c

    r6430 r6477  
    99 *  @author Ross Harman, MHPCC
    1010 *
    11  *  @version $Revision: 1.95.4.1 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2006-02-16 07:50:16 $
     11 *  @version $Revision: 1.95.4.2 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2006-02-24 03:59:10 $
    1313 *
    1414 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    128128    // section should be of the form '[col0:col1,row0:row1]'
    129129    if (region == NULL) {
    130         psError(PS_ERR_BAD_PARAMETER_NULL, true,
    131                 PS_ERRORTEXT_psImage_SUBSECTION_NULL);
    132         return psRegionSet(NAN,NAN,NAN,NAN);
     130        return psRegionSet(0,0,0,0);
    133131    }
    134132
Note: See TracChangeset for help on using the changeset viewer.