Skip to content

Commit a51555c

Browse files
committed
Fixed typo.
1 parent b1de782 commit a51555c

6 files changed

Lines changed: 8 additions & 9 deletions

File tree

‎ReClass.NET/Nodes/ArrayNode.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public override void GetUserInterfaceInfo(out string name, out Image icon)
1818
icon = Properties.Resources.B16x16_Button_Array;
1919
}
2020

21-
public override void Intialize()
21+
public override void Initialize()
2222
{
2323
InnerNode = IntPtr.Size == 4 ? (BaseNode)new Hex32Node() : new Hex64Node();
2424
}

‎ReClass.NET/Nodes/BaseNode.cs‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,14 @@ public static BaseNode CreateInstanceFromType(Type nodeType)
8080
/// Creates an instance of the specific node type.
8181
/// </summary>
8282
/// <param name="nodeType">The <see cref="Type"/> of the node.</param>
83-
/// <param name="callInitialize">If true <see cref="Intialize"/> gets called for the new node.</param>
83+
/// <param name="callInitialize">If true <see cref="Initialize"/> gets called for the new node.</param>
8484
/// <returns>An instance of the node type or null if the type is not a valid node type.</returns>
8585
public static BaseNode CreateInstanceFromType(Type nodeType, bool callInitialize)
8686
{
8787
var node = Activator.CreateInstance(nodeType) as BaseNode;
8888
if (callInitialize)
8989
{
90-
node?.Intialize();
90+
node?.Initialize();
9191
}
9292
return node;
9393
}
@@ -129,7 +129,7 @@ public virtual string GetToolTipText(HotSpot spot, MemoryBuffer memory)
129129
}
130130

131131
/// <summary>Called when the node was created. Does not get called after loading a project.</summary>
132-
public virtual void Intialize()
132+
public virtual void Initialize()
133133
{
134134

135135
}

‎ReClass.NET/Nodes/ClassInstanceNode.cs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ public override void GetUserInterfaceInfo(out string name, out Image icon)
1717
icon = Properties.Resources.B16x16_Button_Class_Instance;
1818
}
1919

20-
public override void Intialize()
20+
public override void Initialize()
2121
{
2222
InnerNode = ClassNode.Create();
23-
InnerNode.Intialize();
23+
InnerNode.Initialize();
2424
}
2525

2626
public override bool CanChangeInnerNodeTo(BaseNode node)

‎ReClass.NET/Nodes/ClassNode.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public override bool CanHandleChildNode(BaseNode node)
9494
return true;
9595
}
9696

97-
public override void Intialize()
97+
public override void Initialize()
9898
{
9999
AddBytes(IntPtr.Size);
100100
}

‎ReClass.NET/Nodes/VirtualMethodTableNode.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public override bool CanHandleChildNode(BaseNode node)
2525
return node is VirtualMethodNode;
2626
}
2727

28-
public override void Intialize()
28+
public override void Initialize()
2929
{
3030
for (var i = 0; i < 10; ++i)
3131
{

‎ReClass.NET/UI/MemoryViewControl.cs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,6 @@ protected override void OnMouseClick(MouseEventArgs e)
408408
var items = NodeTypesBuilder.CreateToolStripMenuItems(t =>
409409
{
410410
var node = BaseNode.CreateInstanceFromType(t);
411-
node.Intialize();
412411
if (wrapperNode.CanChangeInnerNodeTo(node))
413412
{
414413
wrapperNode.ChangeInnerNode(node);

0 commit comments

Comments
 (0)