Changeset 9903 for trunk/psModules/src/camera/pmFPAfileDefine.c
- Timestamp:
- Nov 7, 2006, 4:09:31 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPAfileDefine.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPAfileDefine.c
r9579 r9903 536 536 PS_ASSERT_INT_POSITIVE(strlen(filename), false); 537 537 538 if (*found) 539 return NULL; 538 if (*found) { 539 return NULL; 540 } 540 541 541 542 // a camera config is needed (as source of file rule) … … 581 582 } 582 583 584 // Prepend the global path to the file rule 585 if (config->workdir) { 586 psStringPrepend(&file->filerule, "%s/", config->workdir); 587 } 588 583 589 if (found) { 584 590 *found = true; 585 591 } 586 psFree (fpa); 592 psFree (fpa); // Drop reference 593 587 594 return file; 588 595 }
Note:
See TracChangeset
for help on using the changeset viewer.
