# HG changeset patch # User John Tsiombikas # Date 1333364428 -10800 # Node ID 0b73aa7317e199782ed28d8941f1320ea8bc6fb9 # Parent 57072295eb83568b84f7f2742a9ddb37b4927110 lalal diff -r 57072295eb83 -r 0b73aa7317e1 src/volray.c --- a/src/volray.c Mon Apr 02 02:11:35 2012 +0300 +++ b/src/volray.c Mon Apr 02 14:00:28 2012 +0300 @@ -236,22 +236,29 @@ struct slice_file *tail; for(i=1; iname = argv[i]; + sfile->next = 0; + + if(!flist) { + flist = tail = sfile; + } else { + tail->next = sfile; + tail = sfile; + } + nslices++; } - sfile->name = argv[i]; - sfile->next = 0; - - if(!flist) { - flist = tail = sfile; - } else { - tail->next = sfile; - tail = sfile; - } - nslices++; } if(!nslices) {