projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2708096
)
sorry for breaking the build, I did put in wrong version I should have retested it
author
Magnus Olsen
<magnus@greatlord.com>
Sat, 27 May 2006 13:05:24 +0000
(13:05 +0000)
committer
Magnus Olsen
<magnus@greatlord.com>
Sat, 27 May 2006 13:05:24 +0000
(13:05 +0000)
svn path=/trunk/; revision=22075
reactos/lib/crt/misc/environ.c
patch
|
blob
|
history
diff --git
a/reactos/lib/crt/misc/environ.c
b/reactos/lib/crt/misc/environ.c
index
cf29c97
..
efe4bd3
100644
(file)
--- a/
reactos/lib/crt/misc/environ.c
+++ b/
reactos/lib/crt/misc/environ.c
@@
-245,11
+245,11
@@
int SetEnv(const wchar_t *option)
memcpy(name, option, (epos - option) * sizeof(wchar_t));
name[epos - option] = 0;
- if (
*name == 0) || (wcschr(option, L'=') !=NULL
)
+ if (
(*name == 0) || (wcschr(option, L'=') !=NULL)
)
{
/* fixme check see if name contain any space or so
so we really locate first char in name and compare
- it with equal
+ it with equal
*/
free(name);
return -1;