src/joystick/windows/SDL_dxjoystick.c
changeset 7133 87d4cb9bb66c
parent 7037 3fedf1f25b94
child 7191 75360622e65f
     1.1 --- a/src/joystick/windows/SDL_dxjoystick.c	Wed May 01 11:42:29 2013 +0200
     1.2 +++ b/src/joystick/windows/SDL_dxjoystick.c	Wed May 01 11:59:54 2013 +0200
     1.3 @@ -99,7 +99,7 @@
     1.4      s_pXInputDLL = LoadLibrary( L"XInput1_4.dll" );  // 1.4 Ships with Windows 8.
     1.5      if (!s_pXInputDLL) {
     1.6          version = (1 << 16) | 3;
     1.7 -        s_pXInputDLL = LoadLibrary( L"XInput1_3.dll" );  // 1.3 Ships with Vista and Win7, can be installed as a restributable component.
     1.8 +        s_pXInputDLL = LoadLibrary( L"XInput1_3.dll" );  // 1.3 Ships with Vista and Win7, can be installed as a redistributable component.
     1.9      }
    1.10      if (!s_pXInputDLL) {
    1.11          s_pXInputDLL = LoadLibrary( L"bin\\XInput1_3.dll" );
    1.12 @@ -514,7 +514,7 @@
    1.13  
    1.14  static SDL_bool s_bWindowsDeviceChanged = SDL_FALSE;
    1.15  
    1.16 -/* windowproc for our joystick detect thread message only window, to detect any usb device addition/removal
    1.17 +/* windowproc for our joystick detect thread message only window, to detect any USB device addition/removal
    1.18   */
    1.19  LRESULT CALLBACK SDL_PrivateJoystickDetectProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)    {
    1.20  	switch (message)    {
    1.21 @@ -1043,7 +1043,7 @@
    1.22  			return SetDIerror("IDirectInputDevice8::QueryInterface", result);
    1.23  		}
    1.24  
    1.25 -		/* Aquire shared access. Exclusive access is required for forces,
    1.26 +		/* Acquire shared access. Exclusive access is required for forces,
    1.27  		 * though. */
    1.28  		result =
    1.29  			IDirectInputDevice8_SetCooperativeLevel(joystick->hwdata->