Ignore:
Timestamp:
May 14, 2013, 7:29:19 PM (12 years ago)
Author:
alloc
Message:

AEI2.13:

  • Fixes startup bug if free space > 1 TiB
Location:
java/installer2/src/net/oni2/aeinstaller
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • java/installer2/src/net/oni2/aeinstaller/AEInstaller.properties

    r863 r870  
    11appname=AE Installer 2
    2 appversion=.12
     2appversion=.13
  • java/installer2/src/net/oni2/aeinstaller/backend/SizeFormatter.java

    r594 r870  
    1313         */
    1414        public static String format(long sizeVal, int digits) {
    15                 String names[] = { "B", "KiB", "MiB", "GiB" };
     15                String names[] = { "B", "KiB", "MiB", "GiB", "TiB" };
    1616                int nameInd = 0;
    1717                float size = sizeVal;
    18                 while (size > 1024) {
     18                while ((size > 1024) && (nameInd < (names.length - 1))) {
    1919                        nameInd++;
    2020                        size /= 1024;
Note: See TracChangeset for help on using the changeset viewer.