Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2015-05-17 20:44:29 +02:00
commit 29208c71c0
2 changed files with 2 additions and 2 deletions

View file

@ -33,7 +33,7 @@ public class LocalIndexInfo {
this.type = type;
singleFile = !f.isDirectory();
if (singleFile) {
kbSize = (int) (f.length() >> 10);
kbSize = (int) ((f.length() + 512) >> 10);
}
this.backupedData = backuped;
}

View file

@ -1249,7 +1249,7 @@ public class AvailableGPXFragment extends OsmandExpandableListFragment {
if (file == null) {
return -1;
}
sz = (int) (file.length() >> 10);
sz = (int) ((file.length() + 512) >> 10);
}
return sz;
}