Fix bug in sort files.

release-1.5.4.branch
Vreixo Formoso 15 years ago
parent 5cf3abc075
commit 0fdfe05d7e
  1. 2
      src/filesrc.c

@ -136,7 +136,7 @@ int filesrc_writer_compute_data_blocks(IsoImageWriter *writer)
/* sort files by weight, if needed */
if (t->sort_files) {
qsort(t->files, size, sizeof(void*), cmp_by_weight);
qsort(filelist, size, sizeof(void*), cmp_by_weight);
}
/* fill block value */

Loading…
Cancel
Save