Changeset 8298
- Timestamp:
- Aug 11, 2006, 4:53:36 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/types/psMetadataConfig.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/types/psMetadataConfig.c
r8232 r8298 10 10 * @author Eric Van Alst, MHPCC 11 11 * 12 * @version $Revision: 1.7 0$ $Name: not supported by cvs2svn $13 * @date $Date: 2006-08- 08 23:32:23$12 * @version $Revision: 1.71 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2006-08-12 02:53:36 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 1279 1279 psStringAppend(&content, " " #dataformat, item->data.type); \ 1280 1280 if ( strncmp(item->comment,"",2) ) { \ 1281 psStringAppend(&content, " #%s ", item->comment); \1281 psStringAppend(&content, " #%s\n", item->comment); \ 1282 1282 } \ 1283 psStringAppend(&content, " \n");1283 psStringAppend(&content, "\n"); 1284 1284 1285 1285 // In this block, the single item is used to build 'content' … … 1305 1305 break; 1306 1306 case PS_DATA_BOOL: 1307 psStringAppend (&content, "%s BOOL ", item->name); 1308 if ( item->data.B ) { 1309 psStringAppend(&content, "TRUE"); 1310 } else { 1311 psStringAppend(&content, "FALSE"); 1312 } 1313 if ( item->comment != NULL ) { 1314 psStringAppend(&content, " #%s", item->comment); 1315 } 1316 psStringAppend(&content, " \n", item->comment); 1307 psStringAppend (&content, "%-15s %-8s", item->name, "BOOL"); 1308 psStringAppend(&content, " %s", item->data.B ? "T" : "F"); 1309 if (strncmp(item->comment,"",2) ) { 1310 psStringAppend(&content, " #%s\n", item->comment); 1311 } 1312 psStringAppend(&content, "\n"); 1317 1313 break; 1318 1314 case PS_DATA_S8:
Note:
See TracChangeset
for help on using the changeset viewer.
