From 8a028aca45ccb5bbce20c51050a3bf0f11d36a78 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sat, 20 Sep 2014 19:28:33 +0200 Subject: Use absolute path in ShellExecute call that was missed when the security fix for Microsoft Security Advisory 2269637 was implemented. --- src/Common/Dlgcode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Common') diff --git a/src/Common/Dlgcode.c b/src/Common/Dlgcode.c index 990c04df..ffb62ecb 100644 --- a/src/Common/Dlgcode.c +++ b/src/Common/Dlgcode.c @@ -6949,7 +6949,7 @@ BOOL PrintHardCopyTextUTF16 (wchar_t *text, char *title, int textByteLen) StringCbCopyA(filename, sizeof(filename), "C:\\Windows\\" PRINT_TOOL); WaitCursor (); - ShellExecute (NULL, "open", PRINT_TOOL, cl, NULL, SW_HIDE); + ShellExecute (NULL, "open", filename, cl, NULL, SW_HIDE); Sleep (6000); NormalCursor(); -- cgit v1.2.3