Marcus Meissner : msvcrt: Remove strange condition which might lead to crash.
Alexandre Julliard
julliard at winehq.org
Thu Jan 10 06:42:04 CST 2008
Module: wine
Branch: master
Commit: a54150bc531aa5a3ea9828fdb194bf261d0ff0d1
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a54150bc531aa5a3ea9828fdb194bf261d0ff0d1
Author: Marcus Meissner <marcus at jet.franken.de>
Date: Thu Jan 10 09:49:47 2008 +0100
msvcrt: Remove strange condition which might lead to crash.
---
dlls/msvcrt/process.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/msvcrt/process.c b/dlls/msvcrt/process.c
index ee044aa..87a29f4 100644
--- a/dlls/msvcrt/process.c
+++ b/dlls/msvcrt/process.c
@@ -189,7 +189,7 @@ static MSVCRT_wchar_t* msvcrt_argvtos(const MSVCRT_wchar_t* const* arg, MSVCRT_w
MSVCRT_wchar_t* p;
MSVCRT_wchar_t* ret;
- if (!arg && !delim)
+ if (!arg)
{
/* Return NULL for an empty environment list */
return NULL;
@@ -233,7 +233,7 @@ static MSVCRT_wchar_t *msvcrt_argvtos_aw(const char * const *arg, MSVCRT_wchar_t
unsigned long len;
MSVCRT_wchar_t *p, *ret;
- if (!arg && !delim)
+ if (!arg)
{
/* Return NULL for an empty environment list */
return NULL;
More information about the wine-cvs
mailing list