lazmapviewer: Cosmetic changes
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6833 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
parent
867942971e
commit
ddd6428ace
@ -288,7 +288,7 @@ begin
|
||||
FileName := GetFileName(MapProvider, TileId);
|
||||
EnterCrit;
|
||||
try
|
||||
idx := Cache.IndexOF(FileName);
|
||||
idx := Cache.IndexOf(FileName);
|
||||
if idx <> -1 then
|
||||
Cache.Objects[idx].Free
|
||||
else
|
||||
@ -304,7 +304,7 @@ begin
|
||||
|
||||
if UseDisk then
|
||||
begin
|
||||
if assigned(img) then
|
||||
if Assigned(img) then
|
||||
begin
|
||||
lFile := TFileStream.Create(BasePath + FileName, fmCreate);
|
||||
try
|
||||
|
Loading…
Reference in New Issue
Block a user