summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1ce8d00)
raw | patch | inline | side by side (parent: 1ce8d00)
author | Dmitry D. Chernov <blackdoomer@yandex.ru> | |
Sun, 3 Sep 2023 06:41:28 +0000 (16:41 +1000) | ||
committer | Dmitry D. Chernov <blackdoomer@yandex.ru> | |
Sun, 3 Sep 2023 14:10:18 +0000 (00:10 +1000) |
src/editor/f_main.pas | patch | blob | history |
diff --git a/src/editor/f_main.pas b/src/editor/f_main.pas
index d869c785749cd0497a217349a91f666e436713d1..2df86ca6f40543ca72fe14c0d0ce5e2d911f3ad1 100644 (file)
--- a/src/editor/f_main.pas
+++ b/src/editor/f_main.pas
type
TUndoRec = record
- UndoType: Byte;
- case Byte of
+ case UndoType: Byte of
UNDO_DELETE_PANEL: (Panel: ^TPanel);
UNDO_DELETE_ITEM: (Item: TItem);
UNDO_DELETE_AREA: (Area: TArea);
end;
TCopyRec = record
- ObjectType: Byte;
ID: Cardinal;
- case Byte of
+ case ObjectType: Byte of
OBJECT_PANEL: (Panel: ^TPanel);
OBJECT_ITEM: (Item: TItem);
OBJECT_AREA: (Area: TArea);
QuickSortCopyBuffer(0, b);
end;
-// Ð\9fестановка ссылок триггеров:
+// Ð\9fостановка ссылок триггеров:
for a := 0 to Length(CopyBuffer)-1 do
if CopyBuffer[a].ObjectType = OBJECT_TRIGGER then
begin