mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-22 12:49:19 +02:00
* Patch from Ondrej to fix sharing mode when loading fonts (bug ID 30070)
git-svn-id: trunk@33564 -
This commit is contained in:
parent
5ac352bc3c
commit
60382b990e
@ -741,7 +741,7 @@ Var
|
||||
AStream: TFileStream;
|
||||
begin
|
||||
FFilename := AFilename;
|
||||
AStream:= TFileStream.Create(AFileName,fmOpenRead);
|
||||
AStream:= TFileStream.Create(AFileName,fmOpenRead or fmShareDenyNone);
|
||||
try
|
||||
LoadFromStream(AStream);
|
||||
finally
|
||||
|
Loading…
Reference in New Issue
Block a user