mirror of
https://github.com/reactos/reactos.git
synced 2024-10-21 00:18:26 +00:00
sorry for breaking the build, I did put in wrong version I should have retested it
svn path=/trunk/; revision=22075
This commit is contained in:
parent
2708096c09
commit
ddeed65c6f
|
@ -245,11 +245,11 @@ int SetEnv(const wchar_t *option)
|
||||||
memcpy(name, option, (epos - option) * sizeof(wchar_t));
|
memcpy(name, option, (epos - option) * sizeof(wchar_t));
|
||||||
name[epos - option] = 0;
|
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
|
/* fixme check see if name contain any space or so
|
||||||
so we really locate first char in name and compare
|
so we really locate first char in name and compare
|
||||||
it with equal
|
it with equal
|
||||||
*/
|
*/
|
||||||
free(name);
|
free(name);
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Reference in a new issue