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);
|
ret = SHAlloc(strlen(paths[path_id].default_value)+1);
|
||||||
if (ret != NULL)
|
if (ret != NULL)
|
||||||
lstrcpyA(ret, env);
|
lstrcpyA(ret, paths[path_id].default_value);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user