Skip to content

Commit a931221

Browse files
committed
Fixed loop condition.
1 parent f921b04 commit a931221

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ReClass.NET/Nodes/BaseContainerNode.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System;
1+
using System;
22
using System.Collections.Generic;
33
using System.Diagnostics.Contracts;
44

@@ -239,7 +239,7 @@ protected void InsertBytes(int index, int size, ref List<BaseNode> createdNodes)
239239
offset = node.Offset + node.MemorySize;
240240
}
241241

242-
while (size != 0)
242+
while (size > 0)
243243
{
244244
var node = CreateDefaultNodeForSize(size);
245245
if (node == null)

0 commit comments

Comments
 (0)