Browse Source

Merge pull request #70 from cf/master

Fixed spelling mistake in error message
Stanislav Denisov 3 years ago
parent
commit
6c68f378ca
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Source/Managed/ENet.cs

+ 2 - 2
Source/Managed/ENet.cs

@@ -954,7 +954,7 @@ namespace ENet {
 
 		public static bool Initialize() {
 			if (Native.enet_linked_version() != version)
-				throw new InvalidOperationException("Incompatatible version");
+				throw new InvalidOperationException("Incompatible version");
 
 			return Native.enet_initialize() == 0;
 		}
@@ -964,7 +964,7 @@ namespace ENet {
 				throw new ArgumentNullException("callbacks");
 
 			if (Native.enet_linked_version() != version)
-				throw new InvalidOperationException("Incompatatible version");
+				throw new InvalidOperationException("Incompatible version");
 
 			ENetCallbacks nativeCallbacks = callbacks.NativeData;