Alexandre Julliard : shell32: Fix contents of string returned in
load_path.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Jun 12 06:30:34 CDT 2007
Module: wine
Branch: master
Commit: 92571d8d39f48e2b8c749647c51a83992e1f11fb
URL: http://source.winehq.org/git/wine.git/?a=commit;h=92571d8d39f48e2b8c749647c51a83992e1f11fb
Author: Alexandre Julliard <julliard at 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;
}
More information about the wine-cvs
mailing list