From ddeed65c6fa27f26126b8f8d11f9d355d78ce4ed Mon Sep 17 00:00:00 2001 From: Magnus Olsen Date: Sat, 27 May 2006 13:05:24 +0000 Subject: [PATCH] sorry for breaking the build, I did put in wrong version I should have retested it svn path=/trunk/; revision=22075 --- reactos/lib/crt/misc/environ.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/lib/crt/misc/environ.c b/reactos/lib/crt/misc/environ.c index cf29c9753ac..efe4bd36cbb 100644 --- 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;