mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 23:08:05 +02:00
* fixed missing endupdate when loadinf image with size=0
git-svn-id: trunk@22264 -
This commit is contained in:
parent
ba1b2f95f1
commit
a457e55753
@ -430,7 +430,10 @@ begin
|
||||
UnshareImage(False);
|
||||
Clear; // clear old saved stream, allocated handles, etc
|
||||
if ASize = 0
|
||||
then Exit;
|
||||
then begin
|
||||
EndUpdate(False);
|
||||
Exit;
|
||||
end;
|
||||
|
||||
WorkStream := nil;
|
||||
try
|
||||
|
Loading…
Reference in New Issue
Block a user