mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-11-24 12:03:28 +01:00
Windows: correct handle failure of TranslateVolumeID function (should not happen anyway).
This commit is contained in:
parent
3ddb499280
commit
20c723e242
@ -7980,7 +7980,8 @@ BOOL CALLBACK MainDialogProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPa
|
||||
if (VolumeSelected (hwndDlg)
|
||||
&& IsMountedVolume (volPathLower))
|
||||
{
|
||||
TranslateVolumeID (hwndDlg, volPathLower, ARRAYSIZE (volPathLower));
|
||||
if (!TranslateVolumeID (hwndDlg, volPathLower, ARRAYSIZE (volPathLower)))
|
||||
return 1;
|
||||
|
||||
if (LOWORD (selectedDrive) != TC_MLIST_ITEM_NONSYS_VOL)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user