Alexandre Julliard : shell32: Fix contents of string returned in load_path.
Module: wine Branch: master Commit: 92571d8d39f48e2b8c749647c51a83992e1f11fb URL: http://source.winehq.org/git/wine.git/?a=commit;h=92571d8d39f48e2b8c749647c5... Author: Alexandre Julliard <julliard(a)winehq.org> Date: Mon Jun 11 20:20:02 2007 +0200 shell32: Fix contents of string returned in load_path. --- dlls/shell32/xdg.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/shell32/xdg.c b/dlls/shell32/xdg.c index 6521232..108d92a 100644 --- a/dlls/shell32/xdg.c +++ b/dlls/shell32/xdg.c @@ -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; }
participants (1)
-
Alexandre Julliard