AppletLoader: fix issue with caching and lzma/pack200 files

This commit is contained in:
kappa1 2010-07-11 15:26:33 +00:00
parent 1ba3f0197b
commit 77306f770a
1 changed files with 4 additions and 0 deletions

View File

@ -1251,6 +1251,10 @@ public class AppletLoader extends Applet implements Runnable, AppletStub {
float increment = (float) 10.0 / urlList.length;
// extract all lzma and pack.lzma files
for (int i = 0; i < urlList.length; i++) {
// if file has not changed, skip it
if (fileSizes[i] == -2) continue;
percentage = 55 + (int) (increment * (i+1));
String filename = getFileName(urlList[i]);