diff options
author | Hennes Rohling <hro@openoffice.org> | 2001-03-22 07:51:12 +0000 |
---|---|---|
committer | Hennes Rohling <hro@openoffice.org> | 2001-03-22 07:51:12 +0000 |
commit | f0055324980e476e1b27c3aa8aca9dc3cfc4403c (patch) | |
tree | 0b174087cb9969b8f9207b08f971ee7a554e0a9e /sal/osl/w32/process.c | |
parent | 04cf0e298bb5e495896bbc299f620a982a4b1718 (diff) |
#85177# If searchNormalizedPath returns true everything is O.K.
Diffstat (limited to 'sal/osl/w32/process.c')
-rw-r--r-- | sal/osl/w32/process.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 ); |