From 3654fa4107607d4cb4c9207f8e839434e1fe0b6f Mon Sep 17 00:00:00 2001 From: Jarl Gullberg Date: Fri, 28 Jul 2017 13:43:12 +0200 Subject: [PATCH] Correct semicolon spacing in OpenTK. --- src/OpenTK/Audio/OpenAL/AL/EffectsExtensionPresets.cs | 2 +- src/OpenTK/Input/GamePadConfiguration.cs | 2 +- src/OpenTK/Platform/Android/GameViewBase.cs | 4 ++-- src/OpenTK/Platform/MacOS/HIDInput.cs | 4 ++-- src/OpenTK/Platform/X11/API.cs | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/OpenTK/Audio/OpenAL/AL/EffectsExtensionPresets.cs b/src/OpenTK/Audio/OpenAL/AL/EffectsExtensionPresets.cs index 1323a10..f8d7a7c 100644 --- a/src/OpenTK/Audio/OpenAL/AL/EffectsExtensionPresets.cs +++ b/src/OpenTK/Audio/OpenAL/AL/EffectsExtensionPresets.cs @@ -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; diff --git a/src/OpenTK/Input/GamePadConfiguration.cs b/src/OpenTK/Input/GamePadConfiguration.cs index 4d61dbd..f2eece9 100644 --- a/src/OpenTK/Input/GamePadConfiguration.cs +++ b/src/OpenTK/Input/GamePadConfiguration.cs @@ -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; diff --git a/src/OpenTK/Platform/Android/GameViewBase.cs b/src/OpenTK/Platform/Android/GameViewBase.cs index 7fa788e..4f6a3f9 100644 --- a/src/OpenTK/Platform/Android/GameViewBase.cs +++ b/src/OpenTK/Platform/Android/GameViewBase.cs @@ -829,8 +829,8 @@ namespace OpenTK /// /// event EventHandler INativeWindow.KeyPress { - add { throw new NotSupportedException ();} - remove { throw new NotSupportedException ();} + add { throw new NotSupportedException (); } + remove { throw new NotSupportedException (); } } public virtual int Width { diff --git a/src/OpenTK/Platform/MacOS/HIDInput.cs b/src/OpenTK/Platform/MacOS/HIDInput.cs index 705f862..c33a94f 100644 --- a/src/OpenTK/Platform/MacOS/HIDInput.cs +++ b/src/OpenTK/Platform/MacOS/HIDInput.cs @@ -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( diff --git a/src/OpenTK/Platform/X11/API.cs b/src/OpenTK/Platform/X11/API.cs index 0628fca..79e925d 100644 --- a/src/OpenTK/Platform/X11/API.cs +++ b/src/OpenTK/Platform/X11/API.cs @@ -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; -- 2.7.4