fpexif: Undo r7416
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7778 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
parent
af6047d214
commit
660f4a7db7
@ -356,9 +356,7 @@ procedure TImgInfo.LoadFromFile(const AFileName: String);
|
||||
var
|
||||
stream: TStream;
|
||||
begin
|
||||
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
|
||||
if not FileExists(AFileName) then
|
||||
Error(Format(rsFileNotFoundError, [AFileName]));
|
||||
|
||||
FWarnings.Clear;
|
||||
|
Loading…
Reference in New Issue
Block a user