ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/util/rcode_ident.c
(Generate patch)

Comparing ray/src/util/rcode_ident.c (file contents):
Revision 2.6 by greg, Wed Jul 24 00:25:51 2019 UTC vs.
Revision 2.7 by greg, Wed Jul 24 17:50:32 2019 UTC

# Line 222 | Line 222 | print_IDs(IDMAP *idmp)
222  
223          printf("============ %d IDs ============\n", idmp->nids);
224  
225 <        for (i = 0; i < idmp->nids; i++)
226 <                puts(mapID(idmp, i));
227 <
225 >        for (i = 0; i < idmp->nids; i++) {
226 >                fputs(mapID(idmp, i), stdout);
227 >                putchar(sepc);
228 >        }
229 >        if (sepc != '\n')
230 >                fputc('\n', stdout);
231          puts("============= END =============");
232   }
233  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines