Changeset 27657 for trunk/psModules/src/camera/pmFPAfile.c
- Timestamp:
- Apr 11, 2010, 5:08:29 PM (16 years ago)
- Location:
- trunk/psModules
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/camera/pmFPAfile.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules
-
Property svn:mergeinfo
set to
/branches/eam_branches/stackphot.20100406/psModules merged eligible
-
Property svn:mergeinfo
set to
-
trunk/psModules/src/camera/pmFPAfile.c
r27134 r27657 111 111 file->save = false; 112 112 113 file->index = fileNum++; 113 file->fileIndex = fileNum++; 114 file->fileID = 0; 114 115 115 116 file->imageId = 0; … … 372 373 // Number of the file in list 373 374 psString num = NULL; // Number to use 374 psStringAppend(&num, "%d", file-> index);375 psStringAppend(&num, "%d", file->fileIndex); 375 376 psStringSubstitute(&newRule, num, "{FILE.INDEX}"); 377 psFree(num); 378 } 379 380 if (strstr(newRule, "{FILE.ID}")) { 381 // Number of the file in list 382 psString num = NULL; // Number to use 383 psStringAppend(&num, "%03d", file->fileID); 384 psStringSubstitute(&newRule, num, "{FILE.ID}"); 376 385 psFree(num); 377 386 } … … 638 647 psFree(iter); 639 648 640 ps Error(PS_ERR_BAD_PARAMETER_VALUE, true, "Unable to find instance %d of file %s", num, name);649 psLogMsg("psModules.camera", PS_LOG_MINUTIA, "Unable to find instance %d of file %s", num, name); 641 650 return NULL; 642 651 }
Note:
See TracChangeset
for help on using the changeset viewer.
