On Thu, Nov 20, 2014 at 08:29:17PM +0800, Jactry Zeng wrote:
@@ -639,6 +640,11 @@ static int copy_path_string(LPWSTR target, LPWSTR source) while (*source && *source != ',') target[i++] = *source++; target[i] = 0; }
- last = strlenW(target) - 1;
- if (target[0] && target[last] == '\')
target[last] = 0;
- return i;
}
You probably want PathRemoveBackslashW()
Huw.