IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 28, 2007, 3:09:28 PM (19 years ago)
Author:
jhoblitt
Message:

fix -define... label handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/dettool.c

    r12093 r12118  
    14471447    if (!isnan(posang_max)) {
    14481448        detRun->posang_max = posang_max;
     1449    }
     1450
     1451    psString label = psMetadataLookupStr(&status, config->args, "-set_label");
     1452    if (!status) {
     1453        psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -set_label");
     1454        return false;
     1455    }
     1456    if (label) {
     1457        detRun->label = label;
    14491458    }
    14501459
Note: See TracChangeset for help on using the changeset viewer.