2010-12-08 21:53 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/debug/debugger.prg
* contrib/hbodbc/tests/odbccall.prg
* contrib/hbblat/tests/blattest.prg
* contrib/hbgd/gd.prg
* contrib/hbtip/tests/tipmail.prg
* examples/rddado/adordd.prg
* examples/httpsrv/cgifunc.prg
* Eliminated using WITH OBJECT.
% Some optimizations, little fixes.
* tests/omacro.prg
* Formatting.
This commit is contained in:
@@ -753,10 +753,8 @@ FUNCTION uhttpd_SplitFileName( cFile )
|
||||
|
||||
cSep := hb_ps()
|
||||
|
||||
WITH OBJECT hFile
|
||||
:FULLPATH := IIF( !Empty( :PATH ), IIF( !( Right( :PATH, Len( cSep ) ) == cSep ), :PATH + cSep, :PATH ), "" )
|
||||
:UNC := :FULLPATH + :FULLNAME
|
||||
END
|
||||
hFile:FULLPATH := IIF( !Empty( hFile:PATH ), IIF( !( Right( hFile:PATH, Len( cSep ) ) == cSep ), hFile:PATH + cSep, hFile:PATH ), "" )
|
||||
hFile:UNC := hFile:FULLPATH + hFile:FULLNAME
|
||||
|
||||
RETURN hFile
|
||||
|
||||
|
||||
Reference in New Issue
Block a user