mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 19:23:37 +00:00
shell32: Fix contents of string returned in load_path.
This commit is contained in:
parent
2d1157e466
commit
92571d8d39
|
@ -113,7 +113,7 @@ static char *load_path(int path_id)
|
|||
|
||||
ret = SHAlloc(strlen(paths[path_id].default_value)+1);
|
||||
if (ret != NULL)
|
||||
lstrcpyA(ret, env);
|
||||
lstrcpyA(ret, paths[path_id].default_value);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue