IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 15140


Ignore:
Timestamp:
Sep 30, 2007, 1:32:23 PM (19 years ago)
Author:
eugene
Message:

get EXTWORD from the file, not the config, format

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmFPAfileIO.c

    r15000 r15140  
    676676
    677677        // if needed, set the optional EXTWORD field based on the camera value
    678         if (config && config->format) {
    679             psMetadata *fileMenu = psMetadataLookupMetadata (NULL, config->format, "FILE");
     678        if (file->format) {
     679            psMetadata *fileMenu = psMetadataLookupMetadata (NULL, file->format, "FILE");
    680680            if (!fileMenu) {
    681                 psError (PS_ERR_IO, true, "FILE METADATA missing from camera format %s\n", config->formatName);
     681                psError (PS_ERR_IO, true, "FILE METADATA missing from camera format %s\n", file->formatName);
    682682                return false;
    683683            }
Note: See TracChangeset for help on using the changeset viewer.