equal
deleted
inserted
replaced
1682 TBool CheckForDiskSize() |
1682 TBool CheckForDiskSize() |
1683 { |
1683 { |
1684 TVolumeInfo volInfo; |
1684 TVolumeInfo volInfo; |
1685 TInt r = TheFs.Volume(volInfo, gDrive); |
1685 TInt r = TheFs.Volume(volInfo, gDrive); |
1686 test_KErrNone(r); |
1686 test_KErrNone(r); |
1687 gMediaSize = volInfo.iFree; |
1687 gMediaSize = volInfo.iSize; |
1688 gSecondFileSize = KBlockSize*92; |
1688 gSecondFileSize = KBlockSize*92; |
1689 gFirstFileSize = KBlockSize*(256); |
1689 gFirstFileSize = KBlockSize*(256); |
1690 while(((2*gFirstFileSize)+KOneMeg) > gMediaSize ) |
1690 while(((2*gFirstFileSize)+KOneMeg) > gMediaSize ) |
1691 { |
1691 { |
1692 gFirstFileSize -= (2*KBlockSize); |
1692 gFirstFileSize -= (2*KBlockSize); |