Author: cfinck
Date: Sat Nov 28 01:29:52 2009
New Revision: 44300
URL:
http://svn.reactos.org/svn/reactos?rev=44300&view=rev
Log:
Hack: Add the APPDATA variable to the environment created by userenv as it was done for
previous releases.
Modified:
branches/ros-branch-0_3_11/reactos/dll/win32/userenv/environment.c
Modified: branches/ros-branch-0_3_11/reactos/dll/win32/userenv/environment.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_11/reactos/dll/w…
==============================================================================
--- branches/ros-branch-0_3_11/reactos/dll/win32/userenv/environment.c [iso-8859-1]
(original)
+++ branches/ros-branch-0_3_11/reactos/dll/win32/userenv/environment.c [iso-8859-1] Sat
Nov 28 01:29:52 2009
@@ -379,6 +379,9 @@
L"USERPROFILE",
Buffer,
FALSE);
+
+ wcscat(Buffer, L"\\Application Data");
+ SetUserEnvironmentVariable(lpEnvironment, L"APPDATA", Buffer, FALSE);
}
/* FIXME: Set 'USERDOMAIN' variable */