+ // We need to copy the contents of this pointer, as SDL will change it
+ // willy nilly to suit itself
+// padName[i] = SDL_JoystickName(i);
+ strncpy(padName[i], SDL_JoystickName(i), 127);
+ padName[i][127] = 0; // Just in case name's length > 127