Index: trunk/psLib/src/types/psMetadataConfig.c
===================================================================
--- trunk/psLib/src/types/psMetadataConfig.c	(revision 5102)
+++ trunk/psLib/src/types/psMetadataConfig.c	(revision 5103)
@@ -10,6 +10,6 @@
 *  @author Eric Van Alst, MHPCC
 *
-*  @version $Revision: 1.44 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2005-09-15 21:22:22 $
+*  @version $Revision: 1.45 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2005-09-23 02:39:06 $
 *
 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -1275,5 +1275,5 @@
             snprintf(content, MAXSTR, "%d ", item->data.S32);
             strncat(mdString, content, MAXSTR);
-            if ( item->comment != NULL ) {
+            if ( strncmp(item->comment,"",2) ) {
                 //                size = strlen(item->comment);
                 snprintf(content, MAXSTR, " #%s \n", item->comment);
@@ -1290,5 +1290,6 @@
             snprintf(content, MAXSTR, "%f ", item->data.F32);
             strncat(mdString, content, MAXSTR);
-            if ( item->comment != NULL ) {
+            if ( strncmp(item->comment,"",2) ) {
+                //            if ( item->comment != NULL ) {
                 //                size = strlen(item->comment);
                 snprintf(content, MAXSTR, " #%s \n", item->comment);
@@ -1305,5 +1306,7 @@
             snprintf(content, MAXSTR, "%f ", item->data.F64);
             strncat(mdString, content, MAXSTR);
-            if ( item->comment != NULL ) {
+            if ( strncmp(item->comment,"",2) ) {
+                //            if ( item->comment != NULL ) {
+                //            if ( !strncmp((char*)item->comment, "", 2) ) {
                 //                size = strlen(item->comment);
                 snprintf(content, MAXSTR, " #%s \n", item->comment);
@@ -1321,5 +1324,6 @@
             snprintf(content, MAXSTR, "%s ", ((char *)(item->data.V)));
             strncat(mdString, content, MAXSTR);
-            if ( item->comment != NULL ) {
+            if ( strncmp(item->comment,"",2) ) {
+                //            if ( item->comment != NULL ) {
                 //                size = strlen(item->comment);
                 snprintf(content, MAXSTR, " #%s \n", item->comment);
@@ -1342,5 +1346,6 @@
                 buffer2 = strtok(NULL, "\n");
             }
-            if ( item->comment != NULL ) {
+            if ( strncmp(item->comment,"",2) ) {
+                //            if ( item->comment != NULL ) {
                 snprintf(content, MAXSTR, "\nEND   #%s\n\n", item->comment);
                 strncat(mdString, content, MAXSTR);
@@ -1377,5 +1382,6 @@
             else
                 strncat(mdString, "F ", MAXSTR);
-            if ( item->comment != NULL ) {
+            if ( strncmp(item->comment,"",2) ) {
+                //            if ( item->comment != NULL ) {
                 snprintf(content, MAXSTR, " #%s \n", item->comment);
                 strncat(mdString, content, MAXSTR);
@@ -1431,5 +1437,6 @@
                 return NULL;
             }
-            if ( item->comment != NULL ) {
+            if ( strncmp(item->comment,"",2) ) {
+                //            if ( item->comment != NULL ) {
                 //                size = strlen(item->comment);
                 snprintf(content, MAXSTR, " #%s \n", item->comment);
