1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 19:08:26 -06:00

Fix space before tab

This commit is contained in:
David Foerster
2016-05-10 22:24:06 +02:00
parent 11716ed2da
commit 5f47d8b6f1
5 changed files with 6 additions and 6 deletions

View File

@@ -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. // Returns -1 if there is an error, or the size of the file.
__int64 GetFileSize64 (const wchar_t *path) __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; LARGE_INTEGER size;
__int64 retSize = -1; __int64 retSize = -1;

View File

@@ -475,7 +475,7 @@ void EncryptionThreadPoolDoWork (EncryptionThreadPoolWorkType type, byte *data,
workItem->Encryption.UnitCount = unitsPerFragment; workItem->Encryption.UnitCount = unitsPerFragment;
workItem->Encryption.StartUnitNo.Value = fragmentStartUnitNo; workItem->Encryption.StartUnitNo.Value = fragmentStartUnitNo;
fragmentData += unitsPerFragment * ENCRYPTION_DATA_UNIT_SIZE; fragmentData += unitsPerFragment * ENCRYPTION_DATA_UNIT_SIZE;
fragmentStartUnitNo += unitsPerFragment; fragmentStartUnitNo += unitsPerFragment;
if (remainder > 0 && --remainder == 0) if (remainder > 0 && --remainder == 0)

View File

@@ -590,7 +590,7 @@ BOOL CALLBACK KeyFilesDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPa
} }
LoadKeyList (hwndDlg, param->FirstKeyFile); LoadKeyList (hwndDlg, param->FirstKeyFile);
return 1; return 1;
} }
if (lw == IDC_KEYREMOVEALL) if (lw == IDC_KEYREMOVEALL)

View File

@@ -946,7 +946,7 @@ dec_round:
restore ebp,1 restore ebp,1
xor eax,[ebp] xor eax,[ebp]
xor ebx,[ebp+4] xor ebx,[ebp+4]
add sp, 2 add sp, 2
ret ret
%else %else

View File

@@ -3200,7 +3200,7 @@ __int64 PrintFreeSpace (HWND hwndTextBox, wchar_t *lpszDrive, PLARGE_INTEGER lDi
else else
nResourceString = "DISK_FREE_GB"; nResourceString = "DISK_FREE_GB";
} }
else else
{ {
if (bHiddenVol && !bHiddenVolHost) // If it's a hidden volume if (bHiddenVol && !bHiddenVolHost) // If it's a hidden volume
nResourceString = "MAX_HIDVOL_SIZE_TB"; nResourceString = "MAX_HIDVOL_SIZE_TB";
@@ -9476,7 +9476,7 @@ int ScanVolClusterBitmap (HWND hwndDlg, int *driveNo, __int64 nbrClusters, __int
goto vcmf_error; 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 bufLen += 100000 + bufLen/10; // Add reserve
lpOutBuffer = (PVOLUME_BITMAP_BUFFER) malloc (bufLen); lpOutBuffer = (PVOLUME_BITMAP_BUFFER) malloc (bufLen);