[ros-diffs] [greatlrd] 20263: in function deformat_environment did
cut of one letter of GetEnvironmentVariableW at beigner in
second call. it try found example LLUSERSPROFILE but it mean
ALLUSERSPROFILE. fixed by me and hpussin.
greatlrd at svn.reactos.com
greatlrd at svn.reactos.com
Mon Dec 19 00:13:13 CET 2005
in function deformat_environment did cut of one letter of
GetEnvironmentVariableW at beigner in second call. it try found example
LLUSERSPROFILE but it mean ALLUSERSPROFILE. fixed by me and hpussin.
Modified: trunk/reactos/lib/msi/format.c
_____
Modified: trunk/reactos/lib/msi/format.c
--- trunk/reactos/lib/msi/format.c 2005-12-18 23:02:36 UTC (rev
20262)
+++ trunk/reactos/lib/msi/format.c 2005-12-18 23:13:05 UTC (rev
20263)
@@ -151,7 +151,7 @@
{
sz++;
value = msi_alloc(sz * sizeof(WCHAR));
- GetEnvironmentVariableW(&key[1],value,sz);
+ GetEnvironmentVariableW(key,value,sz);
*chunk = (strlenW(value)) * sizeof(WCHAR);
}
else
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20051219/a32e85f2/attachment.html
More information about the Ros-diffs
mailing list