From 58b40b848ceb2ba1aadbdfc17610a96b45723dac Mon Sep 17 00:00:00 2001 From: Patrick Lu Date: Fri, 4 Jun 1999 09:40:15 -0500 Subject: [svn-r1297] removed the c++ style comments and added a new line at the end of the file --- tools/h5tools.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/tools/h5tools.c b/tools/h5tools.c index 1360aeb..2a54aff 100644 --- a/tools/h5tools.c +++ b/tools/h5tools.c @@ -1626,14 +1626,11 @@ static void display_string } else { indentation(indent+COL); printf("%s\"", out_buf); - // strncpy(out_buf, tempstr.s, x); memset(out_buf, '\0', NCOLS); temp = copy_atomic_char(out_buf,tempstr.s,tempstr.len,x); out_buf[x] = '\0'; printf("%s\" //\n", out_buf); x = temp; -// out_buf[0] = '\"'; -// strncpy(out_buf+1, tempstr.s + temp, tempstr.len - temp); } } @@ -1708,7 +1705,6 @@ static void display_string if ((int)strlen(out_buf) < (NCOLS-indent-COL)) strcat(out_buf, " "); } else { strcpy(out_buf, "\""); -// strcat(out_buf, "\""); strcat (out_buf, tempstr.s+x+j*y); strcat(out_buf, "\","); if ((int)strlen(out_buf) < (NCOLS-indent-COL)) strcat(out_buf, " "); @@ -2139,4 +2135,5 @@ int copy_atomic_char(char* output, char* input, int numchar, int freespace){ if (x == 0) x = FAIL; return(x); -} \ No newline at end of file +} + -- cgit v0.12