summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/win_main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/win_main.c b/apps/win_main.c
index 1e7a24b4..fc276988 100644
--- a/apps/win_main.c
+++ b/apps/win_main.c
@@ -231,7 +231,9 @@ dloginfoproc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
if (xref->crypt)
{
- SetDlgItemTextA(hwnd, 0x12, "Encrypted.");
+ sprintf(buf, "Standard V%d %d-bit %s", pdf_get_crypt_revision(xref),
+ pdf_get_crypt_length(xref), pdf_get_crypt_method(xref));
+ SetDlgItemTextA(hwnd, 0x12, buf);
strcpy(buf, "");
if (pdf_has_permission(xref, PDF_PERM_PRINT))
strcat(buf, "print, ");