ide: fix sourceeditor pointer to name assigning

git-svn-id: trunk@24207 -
This commit is contained in:
paul 2010-03-25 08:38:46 +00:00
parent db2312a9d8
commit 6bce7d6359

View File

@ -5098,7 +5098,7 @@ begin
if EnvironmentOptions.IDEWindowLayoutList.ItemByFormID(Self.Name) <> nil then
EnvironmentOptions.IDEWindowLayoutList.ItemByFormID(Self.Name).CloseForm;
// Make the name unique, because it may not immediately be released
Name := Name + '___' + IntToStr(PtrInt(Pointer(Self)));
Name := Name + '___' + IntToStr(PtrUInt(Pointer(Self)));
CloseAction := caFree;
end else
{$ENDIF}