From f0055324980e476e1b27c3aa8aca9dc3cfc4403c Mon Sep 17 00:00:00 2001 From: Hennes Rohling Date: Thu, 22 Mar 2001 07:51:12 +0000 Subject: #85177# If searchNormalizedPath returns true everything is O.K. --- sal/osl/w32/process.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sal/osl/w32/process.c') diff --git a/sal/osl/w32/process.c b/sal/osl/w32/process.c index c5bff04cd642..10d76e2d0e7a 100644 --- a/sal/osl/w32/process.c +++ b/sal/osl/w32/process.c @@ -2,9 +2,9 @@ * * $RCSfile: process.c,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: jbu $ $Date: 2001-03-14 16:30:30 $ + * last change: $Author: hro $ $Date: 2001-03-22 08:51:12 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -104,7 +104,7 @@ oslProcessError SAL_CALL osl_executeProcess(rtl_uString *strImageName, OSL_ASSERT(strImageName != NULL); if (!(Options & osl_Process_SEARCHPATH) || - (osl_searchNormalizedPath( strImageName, NULL, &strPath) != osl_Process_E_None)) + (osl_searchNormalizedPath( strImageName, NULL, &strPath) == osl_Process_E_None)) { rtl_uString_newFromString( &strPath, strImageName); osl_getSystemPathFromNormalizedPath( strPath, &strPath ); -- cgit