Browse Source

Update README.md

nxrighthere 7 years ago
parent
commit
be3a2f4dda
1 changed files with 1 additions and 1 deletions
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -135,7 +135,7 @@ OutOfMemoryCallback OnOutOfMemory = () => {
 
 
 callbacks = new Callbacks(OnMemoryAllocate, OnMemoryFree, OnOutOfMemory);
 callbacks = new Callbacks(OnMemoryAllocate, OnMemoryFree, OnOutOfMemory);
 
 
-if (ENet.Library.Initialize(ref callbacks) > 0)
+if (ENet.Library.Initialize(ref callbacks) > -1)
 	Console.WriteLine("ENet successfully initialized using a custom memory allocator");
 	Console.WriteLine("ENet successfully initialized using a custom memory allocator");
 ```
 ```