VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2016-08-17 14:27:16 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2016-08-17 15:06:20 (GMT)
commitd4192bf863fdd4bb67b794d5834fbaa9efba658d (patch)
tree2e80059c05b50b5ac03f4dba98e77df1e427b096 /src
parent8c963356cb8eccafb3612ab41cf43c49a1afd32c (diff)
downloadVeraCrypt-d4192bf863fdd4bb67b794d5834fbaa9efba658d.zip
VeraCrypt-d4192bf863fdd4bb67b794d5834fbaa9efba658d.tar.gz
Windows: Increase text size limit in RichEdit control to avoid truncating Legal Notices text when displayed.
Diffstat (limited to 'src')
-rw-r--r--src/Common/Dlgcode.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Common/Dlgcode.c b/src/Common/Dlgcode.c
index 3057126..dc59677 100644
--- a/src/Common/Dlgcode.c
+++ b/src/Common/Dlgcode.c
@@ -3316,6 +3316,9 @@ BOOL CALLBACK TextInfoDialogBoxDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, L
{
nID = (int) lParam;
+ // increase size limit of rich edit control
+ SendMessage(GetDlgItem (hwndDlg, IDC_INFO_BOX_TEXT), EM_EXLIMITTEXT, 0, -1);
+
// Left margin for rich edit text field
SendMessage (GetDlgItem (hwndDlg, IDC_INFO_BOX_TEXT), EM_SETMARGINS, (WPARAM) EC_LEFTMARGIN, (LPARAM) CompensateXDPI (4));