projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df33b38
)
[USERENV]
author
Eric Kohl
<eric.kohl@reactos.org>
Thu, 13 May 2010 20:38:16 +0000
(20:38 +0000)
committer
Eric Kohl
<eric.kohl@reactos.org>
Thu, 13 May 2010 20:38:16 +0000
(20:38 +0000)
CreateEnvironmentBlock: Also add the volatile environment values to the users environment block.
svn path=/trunk/; revision=47194
reactos/dll/win32/userenv/environment.c
patch
|
blob
|
history
diff --git
a/reactos/dll/win32/userenv/environment.c
b/reactos/dll/win32/userenv/environment.c
index
5bb38a6
..
0a148ab
100644
(file)
--- a/
reactos/dll/win32/userenv/environment.c
+++ b/
reactos/dll/win32/userenv/environment.c
@@
-439,13
+439,16
@@
CreateEnvironmentBlock(LPVOID *lpEnvironment,
FALSE);
}
-
-
/* Set user environment variables */
SetUserEnvironment(lpEnvironment,
hKeyUser,
L"Environment");
+ /* Set user volatile environment variables */
+ SetUserEnvironment(lpEnvironment,
+ hKeyUser,
+ L"Volatile Environment");
+
RegCloseKey(hKeyUser);
return TRUE;