mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-11-28 05:53:29 +01:00
Fix space before tab
This commit is contained in:
parent
11716ed2da
commit
5f47d8b6f1
@ -8965,7 +8965,7 @@ char *LoadFileBlock (const wchar_t *fileName, __int64 fileOffset, DWORD count)
|
||||
// Returns -1 if there is an error, or the size of the file.
|
||||
__int64 GetFileSize64 (const wchar_t *path)
|
||||
{
|
||||
HANDLE h = CreateFile (path, GENERIC_READ, FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, OPEN_EXISTING, 0, NULL);
|
||||
HANDLE h = CreateFile (path, GENERIC_READ, FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, OPEN_EXISTING, 0, NULL);
|
||||
LARGE_INTEGER size;
|
||||
__int64 retSize = -1;
|
||||
|
||||
|
@ -475,7 +475,7 @@ void EncryptionThreadPoolDoWork (EncryptionThreadPoolWorkType type, byte *data,
|
||||
workItem->Encryption.UnitCount = unitsPerFragment;
|
||||
workItem->Encryption.StartUnitNo.Value = fragmentStartUnitNo;
|
||||
|
||||
fragmentData += unitsPerFragment * ENCRYPTION_DATA_UNIT_SIZE;
|
||||
fragmentData += unitsPerFragment * ENCRYPTION_DATA_UNIT_SIZE;
|
||||
fragmentStartUnitNo += unitsPerFragment;
|
||||
|
||||
if (remainder > 0 && --remainder == 0)
|
||||
|
@ -590,7 +590,7 @@ BOOL CALLBACK KeyFilesDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPa
|
||||
}
|
||||
|
||||
LoadKeyList (hwndDlg, param->FirstKeyFile);
|
||||
return 1;
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (lw == IDC_KEYREMOVEALL)
|
||||
|
@ -946,7 +946,7 @@ dec_round:
|
||||
restore ebp,1
|
||||
xor eax,[ebp]
|
||||
xor ebx,[ebp+4]
|
||||
add sp, 2
|
||||
add sp, 2
|
||||
ret
|
||||
|
||||
%else
|
||||
|
@ -3200,7 +3200,7 @@ __int64 PrintFreeSpace (HWND hwndTextBox, wchar_t *lpszDrive, PLARGE_INTEGER lDi
|
||||
else
|
||||
nResourceString = "DISK_FREE_GB";
|
||||
}
|
||||
else
|
||||
else
|
||||
{
|
||||
if (bHiddenVol && !bHiddenVolHost) // If it's a hidden volume
|
||||
nResourceString = "MAX_HIDVOL_SIZE_TB";
|
||||
@ -9476,7 +9476,7 @@ int ScanVolClusterBitmap (HWND hwndDlg, int *driveNo, __int64 nbrClusters, __int
|
||||
goto vcmf_error;
|
||||
}
|
||||
|
||||
bufLen = (DWORD) (nbrClusters / 8 + 2 * sizeof(LARGE_INTEGER));
|
||||
bufLen = (DWORD) (nbrClusters / 8 + 2 * sizeof(LARGE_INTEGER));
|
||||
bufLen += 100000 + bufLen/10; // Add reserve
|
||||
|
||||
lpOutBuffer = (PVOLUME_BITMAP_BUFFER) malloc (bufLen);
|
||||
|
Loading…
Reference in New Issue
Block a user