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:=''; dirlist:='';
end; end;
if (newdir<>'') and if (newdir<>'') and
not (newdir[length(newdir)] in AllowDirectorySeparators+DriveSeparator) then not (newdir[length(newdir)] in AllowDirectorySeparators+AllowDriveSeparators) then
newdir:=newdir+DirectorySeparator; newdir:=newdir+DirectorySeparator;
if CheckFile (NewDir + Path + #0) then if CheckFile (NewDir + Path + #0) then
NewDir := NewDir + Path NewDir := NewDir + Path

View File

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