From b721eddaaeb0c8f5466eb5e90af8be9965f8f64d Mon Sep 17 00:00:00 2001 From: Pritpal Bedi Date: Thu, 8 Apr 2010 20:34:46 +0000 Subject: [PATCH] 2010-04-08 13:37 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/idemisc.prg ! Fixed wrong concataion of path and file when path was empty. This fixes ( partially ) the built .exe detection in hbIDE. --- harbour/ChangeLog | 5 +++++ harbour/contrib/hbide/idemisc.prg | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index ee0451b3ef..bd0bd6157a 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,11 @@ past entries belonging to author(s): Viktor Szakats. */ +2010-04-08 13:37 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + * contrib/hbide/idemisc.prg + ! Fixed wrong concataion of path and file when path was empty. + This fixes ( partially ) the built .exe detection in hbIDE. + 2010-04-08 21:23 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * utils/hbmk2/hbmk2.prg ! Fixed not propely working filters in some options + situations. diff --git a/harbour/contrib/hbide/idemisc.prg b/harbour/contrib/hbide/idemisc.prg index 5622d8e67a..971fb48323 100644 --- a/harbour/contrib/hbide/idemisc.prg +++ b/harbour/contrib/hbide/idemisc.prg @@ -657,7 +657,7 @@ FUNCTION hbide_pathNormalized( cPath, lLower ) FUNCTION hbide_pathFile( cPath, cFile ) cPath := iif( right( cPath, 1 ) $ "\/", substr( cPath, 1, len( cPath ) - 1 ), cPath ) - RETURN hbide_pathToOSPath( cPath + "\" + cFile ) + RETURN hbide_pathToOSPath( iif( empty( cPath ), cFile, cPath + "\" + cFile ) ) /*----------------------------------------------------------------------*/