Commit 3c07dd12f08d4af1be77fd50f6c5250ce9d745db

Sam Lantinga 2020-11-25T10:28:48

Strip an extra '.' off of the HORI manufacturer name

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/joystick/SDL_joystick.c b/src/joystick/SDL_joystick.c
index 01cf7f4..1ab7e0b 100644
--- a/src/joystick/SDL_joystick.c
+++ b/src/joystick/SDL_joystick.c
@@ -1639,6 +1639,7 @@ SDL_CreateJoystickName(Uint16 vendor, Uint16 product, const char *vendor_name, c
     } replacements[] = {
         { "NVIDIA Corporation ", "" },
         { "Performance Designed Products", "PDP" },
+        { "HORI CO.,LTD.", "HORI" },
         { "HORI CO.,LTD", "HORI" },
     };
     const char *custom_name;