Commit 4b4bd020 authored by Daniel Jelinski's avatar Daniel Jelinski Committed by Alexandre Julliard

msi: Remove trailing spaces from command line property name.

parent 7e0c42e8
......@@ -332,6 +332,8 @@ UINT msi_parse_command_line( MSIPACKAGE *package, LPCWSTR szCommandLine,
len = ptr2 - ptr;
if (!len) return ERROR_INVALID_COMMAND_LINE;
while (ptr[len - 1] == ' ') len--;
prop = msi_alloc( (len + 1) * sizeof(WCHAR) );
memcpy( prop, ptr, len * sizeof(WCHAR) );
prop[len] = 0;
......
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