Author: arty
Date: Mon Jun 5 03:33:27 2006
New Revision: 22227
URL:
http://svn.reactos.ru/svn/reactos?rev=22227&view=rev
Log:
Sorry reverted. GreatLord says this is fixed in the wrong place.
Modified:
trunk/reactos/lib/crt/misc/environ.c
Modified: trunk/reactos/lib/crt/misc/environ.c
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/lib/crt/misc/environ.c?rev=…
==============================================================================
--- trunk/reactos/lib/crt/misc/environ.c (original)
+++ trunk/reactos/lib/crt/misc/environ.c Mon Jun 5 03:33:27 2006
@@ -220,11 +220,8 @@
char *mboption;
int remove, index, count, size, result = 0, found = 0;
- if (option == NULL ||
- ((epos = wcschr(option, L'=')) == NULL) ||
- (epos == option))
- return -1;
-
+ if (option == NULL || (epos = wcschr(option, L'=')) == NULL)
+ return -1;
remove = (epos[1] == 0);
/* Duplicate environment if needed. */