Changeset 1225
- Timestamp:
- 13/04/09 21:44:29 (3 years ago)
- File:
-
- 1 edited
-
branches/4.2/applications/nxconvert_common.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.2/applications/nxconvert_common.c
r1079 r1225 94 94 return NX_ERROR; 95 95 } 96 96 97 97 /* Output global attributes */ 98 98 if (WriteAttributes (nx_is_definition) != NX_OK) … … 105 105 return NX_ERROR; 106 106 } 107 /* clos einput */107 /* close input */ 108 108 if (NXclose (&inId) != NX_OK) 109 109 { … … 187 187 if (NXmalloc (&dataBuffer, dataRank, dataDimensions, dataType) != NX_OK) return NX_ERROR; 188 188 if (NXgetdata (inId, dataBuffer) != NX_OK) return NX_ERROR; 189 if (dataType == NX_CHAR) { 190 dataDimensions[0] = strlen((char*)dataBuffer)+1; 191 } 189 192 if (NXmakedata (outId, name, dataType, dataRank, dataDimensions) != NX_OK) return NX_ERROR; 190 193 if (NXopendata (outId, name) != NX_OK) return NX_ERROR;
Note: See TracChangeset
for help on using the changeset viewer.
