Use absolute path in ShellExecute call that was missed when the security fix for Microsoft Security Advisory 2269637 was implemented.

This commit is contained in:
Mounir IDRASSI 2014-09-20 19:28:33 +02:00
parent fb12b635ed
commit 8a028aca45

View File

@ -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();