Commit 3bc143eb authored by Jason Rumney's avatar Jason Rumney
Browse files

(Fw32_shell_execute): Encode parameters.

parent 6a146d31
......@@ -8105,9 +8105,12 @@ an integer representing a ShowWindow flag:
CHECK_STRING (document);
/* Encode filename and current directory. */
/* Encode filename, current directory and parameters. */
current_dir = ENCODE_FILE (current_buffer->directory);
document = ENCODE_FILE (document);
if (STRINGP (parameters))
parameters = ENCODE_SYSTEM (parameters);
if ((int) ShellExecute (NULL,
(STRINGP (operation) ?
SDATA (operation) : NULL),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment