Correct semicolon spacing in OpenTK.
authorJarl Gullberg <jarl.gullberg@gmail.com>
Fri, 28 Jul 2017 11:43:12 +0000 (13:43 +0200)
committerJarl Gullberg <jarl.gullberg@gmail.com>
Fri, 4 Aug 2017 09:41:52 +0000 (11:41 +0200)
src/OpenTK/Audio/OpenAL/AL/EffectsExtensionPresets.cs
src/OpenTK/Input/GamePadConfiguration.cs
src/OpenTK/Platform/Android/GameViewBase.cs
src/OpenTK/Platform/MacOS/HIDInput.cs
src/OpenTK/Platform/X11/API.cs

index 1323a10..f8d7a7c 100644 (file)
@@ -122,7 +122,7 @@ namespace OpenTK.Audio.OpenAL
 
             output.Gain = 0.32f; // todo, currently default
             output.GainHF = 0.89f; // todo, currently default
-            output.GainLF = 1f;// todo, currently default
+            output.GainLF = 1f; // todo, currently default
 
             output.LFReference = input.LFReference;
             output.HFReference = input.HFReference;
index 4d61dbd..f2eece9 100644 (file)
@@ -216,7 +216,7 @@ namespace OpenTK.Input
                 case 1: position = HatPosition.Up; break;
                 case 2: position = HatPosition.Right; break;
                 case 3: position = HatPosition.UpRight; break;
-                case 4: position = HatPosition.Down ; break;
+                case 4: position = HatPosition.Down; break;
                 case 6: position = HatPosition.DownRight; break;
                 case 8: position = HatPosition.Left; break;
                 case 9: position = HatPosition.UpLeft; break;
index 7fa788e..4f6a3f9 100644 (file)
@@ -829,8 +829,8 @@ namespace OpenTK
         ///   </para>
         /// </remarks>
         event EventHandler<KeyPressEventArgs> INativeWindow.KeyPress {
-            add { throw new NotSupportedException ();}
-            remove { throw new NotSupportedException ();}
+            add { throw new NotSupportedException (); }
+            remove { throw new NotSupportedException (); }
         }
 
         public virtual int Width {
index 705f862..c33a94f 100644 (file)
@@ -1165,7 +1165,7 @@ namespace OpenTK.Platform.MacOS
             [DllImport(hid)]
             public static extern IOReturn IOHIDManagerOpen(
                 IOHIDManagerRef manager,
-                IOOptionBits options) ;
+                IOOptionBits options);
 
             [DllImport(hid)]
             public static extern IOReturn IOHIDDeviceOpen(
@@ -1234,7 +1234,7 @@ namespace OpenTK.Platform.MacOS
             [DllImport(hid)]
             public static extern double IOHIDValueGetScaledValue(
                 IOHIDValueRef @value,
-                IOHIDValueScaleType type) ;
+                IOHIDValueScaleType type);
 
             [DllImport(hid)]
             public static extern IOHIDElementType IOHIDElementGetType(
index 0628fca..79e925d 100644 (file)
@@ -379,7 +379,7 @@ namespace OpenTK.Platform.X11
 
             private byte nhsync;     /* Number of horiz sync ranges */
             /*XF86VidModeSyncRange* */
-            private IntPtr hsync;/* Horizontal sync ranges */
+            private IntPtr hsync; /* Horizontal sync ranges */
 
             private byte nvsync;     /* Number of vert sync ranges */
             /*XF86VidModeSyncRange* */
@@ -1467,7 +1467,7 @@ XF86VidModeGetGammaRampSize(
             {
                 //ptr = XRRSizes(dpy, screen, &nsizes);
 
-                byte* data = (byte*)XRRSizes(dpy, screen, &count);//(byte*)ptr;
+                byte* data = (byte*)XRRSizes(dpy, screen, &count); //(byte*)ptr;
                 if (count == 0)
                 {
                     return null;