Fix two obvious compilation errors

git-svn-id: trunk@36831 -
This commit is contained in:
pierre 2017-08-04 12:26:24 +00:00
parent a1b956f778
commit db00b1e554
2 changed files with 2 additions and 2 deletions

View File

@ -195,7 +195,7 @@ begin
dirlist:='';
end;
if (newdir<>'') and
not (newdir[length(newdir)] in AllowDirectorySeparators+DriveSeparator) then
not (newdir[length(newdir)] in AllowDirectorySeparators+AllowDriveSeparators) then
newdir:=newdir+DirectorySeparator;
if CheckFile (NewDir + Path + #0) then
NewDir := NewDir + Path

View File

@ -475,7 +475,7 @@ asm
xor eax, 112
jz @FOpenDefSharing
cmp eax, 64
jbe FOpen1
jbe @FOpen1
@FOpenDefSharing:
or ecx, 64
@FOpen1: