http://bugs.winehq.org/show_bug.cgi?id=19666
Ilya Basin basinilya@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |basinilya@gmail.com
--- Comment #6 from Ilya Basin basinilya@gmail.com 2010-06-24 04:28:19 --- About http://www.winehq.org/pipermail/wine-patches/2009-August/077397.html IMHO, the following block had to be changed instead: ************************************ strcpyW(wcmd, wszApplicationName); if (sei_tmp.lpParameters[0]) { strcatW(wcmd, wSpace); strcatW(wcmd, wszParameters); } ************************************
It should be changed to something like: ************************************ wcmdLen +=2; ... wcmd[0] = '"'; strcpyW(wcmd+1, wszApplicationName); strcatW(wcmd, '"'); if (sei_tmp.lpParameters[0]) { strcatW(wcmd, wSpace); strcatW(wcmd, wszParameters); } ************************************