summaryrefslogtreecommitdiff
path: root/sal/osl/w32/process.c
diff options
context:
space:
mode:
authorHennes Rohling <hro@openoffice.org>2001-08-20 08:30:22 +0000
committerHennes Rohling <hro@openoffice.org>2001-08-20 08:30:22 +0000
commit997733c8e9f0cf61af70bf33c88fe73288f95588 (patch)
treed23d692a71f6af4ed05aeddd0320f44722a518cd /sal/osl/w32/process.c
parenta2710e4fb9f332ace06869746cdd9bd944681d8f (diff)
#91260# GetCurrentDirectory receives count of elements not size ib bytes
Diffstat (limited to 'sal/osl/w32/process.c')
-rw-r--r--sal/osl/w32/process.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sal/osl/w32/process.c b/sal/osl/w32/process.c
index 77cb5aa3ddd0..850ae63fe3c7 100644
--- a/sal/osl/w32/process.c
+++ b/sal/osl/w32/process.c
@@ -2,9 +2,9 @@
*
* $RCSfile: process.c,v $
*
- * $Revision: 1.15 $
+ * $Revision: 1.16 $
*
- * last change: $Author: hro $ $Date: 2001-07-23 15:20:15 $
+ * last change: $Author: hro $ $Date: 2001-08-20 09:30:22 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -84,7 +84,7 @@ extern oslFileHandle SAL_CALL osl_createFileHandleFromOSHandle( HANDLE hFile );
oslProcessError SAL_CALL osl_getProcessWorkingDir( rtl_uString **pustrWorkingDir )
{
TCHAR szBuffer[MAX_PATH];
- DWORD dwLen = GetCurrentDirectory( sizeof(szBuffer), szBuffer );
+ DWORD dwLen = GetCurrentDirectory( sizeof(szBuffer) / sizeof(TCHAR), szBuffer );
if ( dwLen )
{