Fix: Bugs [ 1686681 ] and [ 1675608 ]

This commit is contained in:
Alexander Koblov 2007-03-23 23:07:27 +00:00
commit d79ba61cda
2 changed files with 2 additions and 6 deletions

View file

@ -467,11 +467,7 @@ begin
Break;
end;
end;
if not bPathFound then // this occurs in archive
begin
LastActive:=fActiveDir;
fActiveDir:='';
end;
if glsDirHistory.IndexOf(ActiveDir)=-1 then
glsDirHistory.Insert(0,ActiveDir);
end;

View file

@ -138,7 +138,7 @@ begin
writeln('thread b2');
assert(Assigned(FItems),'assert:FItems is empty');
Synchronize(@UpDateProgress);
if FPathStart[length(FPathStart)]='/' then
if FPathStart[length(FPathStart)] = PathDelim then
Delete(FPathStart,length(FPathStart),1);
sCurrDir:=GetCurrentDir;
try