* fixed path_absolute, somehow it was not implemented for windows. Probably the $IF for windows fell away. Now defined for go32v2. Fixes 12370, and the solution was hinted at in that bugreport.

git-svn-id: trunk@12372 -
This commit is contained in:
marco 2008-12-16 23:05:16 +00:00
parent e213be26fd
commit 8445fb74bd

View File

@ -512,6 +512,7 @@ implementation
{$elseif defined(macos)}
if IsMacFullPath(s) then
result:=true;
{$elseif defined(win32) or defined(win64) or defined(go32v2)}
if ((length(s)>0) and ((s[1]='\') or (s[1]='/'))) or
((length(s)>2) and (s[2]=':') and ((s[3]='\') or (s[3]='/'))) then
result:=true;