/PhotoAlbum/trunk/src/ak/photoalbum/images/Thumbnailer.java/Thumbnailer.java |
---|
750,14 → 750,12 |
Arrays.sort(children, fileNameComparatorRev); |
for(int i = 0; i < children.length; i++) { |
for(int i = 0; i < children.length && pos < count; i++) { |
if(children[i].isDirectory()) |
; //pos = getFirstFiles(children[i], count, files, pos); |
else { |
files[pos++] = children[i]; |
} |
if(pos >= count) break; |
} |
return pos; |