Browse Source

Fixed spelling mistake in error message

Changed Incompatatible version to Incompatible version
Carter Feldman 3 years ago
parent
commit
ab6751c3ab
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;