src/joystick/bsd/SDL_sysjoystick.c
changeset 7191 75360622e65f
parent 7037 3fedf1f25b94
child 7719 31b5f9ff36ca
     1.1 --- a/src/joystick/bsd/SDL_sysjoystick.c	Sat May 18 12:48:50 2013 -0700
     1.2 +++ b/src/joystick/bsd/SDL_sysjoystick.c	Sat May 18 14:17:52 2013 -0700
     1.3 @@ -76,9 +76,9 @@
     1.4  #include "../SDL_sysjoystick.h"
     1.5  #include "../SDL_joystick_c.h"
     1.6  
     1.7 -#define MAX_UHID_JOYS	16
     1.8 -#define MAX_JOY_JOYS	2
     1.9 -#define MAX_JOYS	(MAX_UHID_JOYS + MAX_JOY_JOYS)
    1.10 +#define MAX_UHID_JOYS   16
    1.11 +#define MAX_JOY_JOYS    2
    1.12 +#define MAX_JOYS    (MAX_UHID_JOYS + MAX_JOY_JOYS)
    1.13  
    1.14  
    1.15  struct report
    1.16 @@ -589,7 +589,7 @@
    1.17  SDL_JoystickGUID SDL_SYS_JoystickGetDeviceGUID( int device_index )
    1.18  {
    1.19      SDL_JoystickGUID guid;
    1.20 -    // the GUID is just the first 16 chars of the name for now
    1.21 +    /* the GUID is just the first 16 chars of the name for now */
    1.22      const char *name = SDL_SYS_JoystickNameForDeviceIndex( device_index );
    1.23      SDL_zero( guid );
    1.24      SDL_memcpy( &guid, name, SDL_min( sizeof(guid), SDL_strlen( name ) ) );
    1.25 @@ -599,7 +599,7 @@
    1.26  SDL_JoystickGUID SDL_SYS_JoystickGetGUID(SDL_Joystick * joystick)
    1.27  {
    1.28      SDL_JoystickGUID guid;
    1.29 -    // the GUID is just the first 16 chars of the name for now
    1.30 +    /* the GUID is just the first 16 chars of the name for now */
    1.31      const char *name = joystick->name;
    1.32      SDL_zero( guid );
    1.33      SDL_memcpy( &guid, name, SDL_min( sizeof(guid), SDL_strlen( name ) ) );