From 044e4217f389a8c242cce8ff0ca9e130574bd3f6 Mon Sep 17 00:00:00 2001 From: Jacob Nevins Date: Thu, 20 Oct 2022 23:25:34 +0100 Subject: [PATCH] Windows PuTTYgen: fit cert info values in dialog. (When an item is too long, as "Fingerprint including certificate" often is, you can at least drag the control to see all of the content.) --- windows/puttygen.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/windows/puttygen.c b/windows/puttygen.c index 143e7b5f..457dbfa1 100644 --- a/windows/puttygen.c +++ b/windows/puttygen.c @@ -1402,14 +1402,14 @@ static INT_PTR CertInfoProc(HWND hwnd, UINT msg, WPARAM wParam, ES_AUTOHSCROLL | ES_READONLY; if (item->type == SDT_MORE_INFO_VALUE_BLOB) { rk.left = 12; - rk.right = 426; + rk.right = 286; rk.top = y; rk.bottom = 8; y += 10; editstyle |= ES_MULTILINE; rv.left = 12; - rv.right = 426; + rv.right = 286; rv.top = y; rv.bottom = 64; y += 68; @@ -1420,7 +1420,7 @@ static INT_PTR CertInfoProc(HWND hwnd, UINT msg, WPARAM wParam, rk.bottom = 8; rv.left = 150; - rv.right = 438; + rv.right = 298; rv.top = y; rv.bottom = 12;