From 8fe3eb0136b9105ff9adabc10f04814e932fc2dc Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Tue, 21 Jan 2020 00:48:02 +0100 Subject: Windows: don't display mount/dismount examples in help dialog for command line in Format and Expander --- src/Common/Cmdline.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Common/Cmdline.c') diff --git a/src/Common/Cmdline.c b/src/Common/Cmdline.c index d2056734..f0dcf7cf 100644 --- a/src/Common/Cmdline.c +++ b/src/Common/Cmdline.c @@ -70,9 +70,9 @@ BOOL CALLBACK CommandHelpDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM StringCchCatW(tmp, 8192, tmp2); } } - +#if defined(TCMOUNT) && !defined(VCEXPANDER) StringCchCatW (tmp, 8192, L"\nExamples:\n\nMount a volume as X:\tveracrypt.exe /q /v volume.hc /l X\nDismount a volume X:\tveracrypt.exe /q /d X"); - +#endif SetWindowTextW (GetDlgItem (hwndDlg, IDC_COMMANDHELP_TEXT), tmp); TCfree(tmp); -- cgit v1.2.3