Changeset 26517
- Timestamp:
- Jan 5, 2010, 11:29:50 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/pswarp/src/pswarpParseCamera.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pswarp/src/pswarpParseCamera.c
r25522 r26517 23 23 bool status; 24 24 25 // look for the file on the RUN metadata 26 pmFPAfile *file = pmFPAfileDefineFromRun(&status, bind, config, filerule); // File to return 25 pmFPAfile *file = NULL; 26 // look for the file on the argument list 27 if (bind) { 28 file = pmFPAfileBindFromArgs(&status, bind, config, filerule, argname); 29 } else { 30 file = pmFPAfileDefineFromArgs(&status, config, filerule, argname); 31 } 27 32 if (!status) { 28 33 psError(PSWARP_ERR_CONFIG, false, "Failed to load file definition for %s", filerule); 29 return NULL;34 return false; 30 35 } 31 36 if (!file) { 32 // look for the file on the argument list 33 if (bind) { 34 file = pmFPAfileBindFromArgs(&status, bind, config, filerule, argname); 35 } else { 36 file = pmFPAfileDefineFromArgs(&status, config, filerule, argname); 37 } 37 // look for the file on the RUN metadata 38 file = pmFPAfileDefineFromRun(&status, bind, config, filerule); // File to return 38 39 if (!status) { 39 40 psError(PSWARP_ERR_CONFIG, false, "Failed to load file definition for %s", filerule); 40 return false;41 return NULL; 41 42 } 42 43 }
Note:
See TracChangeset
for help on using the changeset viewer.
