Changeset 13571
- Timestamp:
- 10/09/12 17:01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/toolkits/petsc/patches/PetscOptionsInsertMultipleString.cpp
r13056 r13571 59 59 /*Reduce first to bare option value*/ 60 60 PetscStrlen(first,&len); 61 while (len > 0 && (first[len-1] == ' ' || first[len-1] == 'n')) {61 while (len > 0 && first[len-1] == ' ') { 62 62 len--; first[len] = 0; 63 63 } … … 70 70 /*Second is another option, ignore it*/ 71 71 PetscStrlen(first,&len); 72 while (len > 0 && (first[len-1] == ' ' || first[len-1] == 'n')) {72 while (len > 0 && first[len-1] == ' ' ) { 73 73 len--; first[len] = 0; 74 74 } … … 81 81 /*Second is 'first' option's value*/ 82 82 PetscStrlen(second,&len); 83 while (len > 0 && (second[len-1] == ' ' || second[len-1] == 'n')) {83 while (len > 0 && second[len-1] == ' ') { 84 84 len--; second[len] = 0; 85 85 }
Note:
See TracChangeset
for help on using the changeset viewer.