VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/Dlgcode.c
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2014-08-25 20:08:14 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2014-11-08 23:22:49 +0100
commit9083f95db01db7098aa2bfe75a91e062069f82e5 (patch)
treefb7e29e7d18af430d0d84fa7991698e736262d9c /src/Common/Dlgcode.c
parent03cf7cc56625a5227686e669693b2519f4a1fc55 (diff)
downloadVeraCrypt-9083f95db01db7098aa2bfe75a91e062069f82e5.tar.gz
VeraCrypt-9083f95db01db7098aa2bfe75a91e062069f82e5.zip
Remove driver version test that is non application to VeraCrypt and that was wrongly inherited from TrueCrypt.
Diffstat (limited to 'src/Common/Dlgcode.c')
-rw-r--r--src/Common/Dlgcode.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/Common/Dlgcode.c b/src/Common/Dlgcode.c
index fc688bb1..990c04df 100644
--- a/src/Common/Dlgcode.c
+++ b/src/Common/Dlgcode.c
@@ -8423,9 +8423,6 @@ BOOL CALLBACK CloseTCWindowsEnum (HWND hwnd, LPARAM lParam)
{
PostMessage (hwnd, TC_APPMSG_CLOSE_BKG_TASK, 0, 0);
- if (DriverVersion < 0x0430)
- PostMessage (hwnd, WM_ENDSESSION, 0, 0);
-
PostMessage (hwnd, WM_CLOSE, 0, 0);
if (lParam != 0)