Commit 79461420 authored by Sylvain Petreolle's avatar Sylvain Petreolle Committed by Alexandre Julliard

_wsplitpath: Display correctly the path being split.

parent 40cfe48b
......@@ -433,9 +433,9 @@ void _wsplitpath(const MSVCRT_wchar_t *inpath, MSVCRT_wchar_t *drv, MSVCRT_wchar
MSVCRT_wchar_t ch, *ptr, *p;
MSVCRT_wchar_t pathbuff[MAX_PATH],*path=pathbuff;
TRACE(":splitting path %s\n",debugstr_w(path));
/* FIXME: Should be an strncpyW or something */
strcpyW(pathbuff, inpath);
TRACE(":splitting path %s\n",debugstr_w(path));
/* convert slashes to backslashes for searching */
for (ptr = (MSVCRT_wchar_t*)path; *ptr; ++ptr)
......
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