You've already forked lazarus-ccr
fpexif: Fix file-not-found error when image is on One Drive for Business. See https://forum.lazarus.freepascal.org/index.php/topic,49564.msg359676.html
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7416 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -353,7 +353,9 @@ procedure TImgInfo.LoadFromFile(const AFileName: String);
|
||||
var
|
||||
stream: TStream;
|
||||
begin
|
||||
if not FileExists(AFileName) then
|
||||
if not FileExists(AFileName {$IF FPC_FullVersion >=30200}, false{$IFEND}) then
|
||||
// false ---> Fix bug accessing image on OneDrive For Business
|
||||
// https://forum.lazarus.freepascal.org/index.php/topic,49564.msg359676/topicseen.html
|
||||
Error(Format(rsFileNotFoundError, [AFileName]));
|
||||
|
||||
FWarnings.Clear;
|
||||
|
Reference in New Issue
Block a user