DBG: Fix finding units

git-svn-id: trunk@32438 -
This commit is contained in:
martin 2011-09-20 18:23:42 +00:00
parent 1df02ca4fc
commit a6f5c17aca

View File

@ -582,8 +582,10 @@ var
OpenDialog: TOpenDialog;
AnUnitInfo: TLazProjectFile;
begin
Result:=False;
Result := False;
if Destroying then exit;
Result := FilenameIsAbsolute(Filename);
if Result then exit;
// some debuggers (e.g. gdb) sometimes returns linux path delims under windows
// => fix that