Skip to content

Commit ee12322

Browse files
committed
Fix GUIDE button showing cropped in gamepad configuration
1 parent 76649c0 commit ee12322

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platforms/desktop-shared/gui.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1306,7 +1306,7 @@ static void gamepad_configuration_item(const char* text, int* button, int player
13061306
ImGui::Text("%s", text);
13071307
ImGui::SameLine(100);
13081308

1309-
static const char* gamepad_names[16] = {"A", "B", "X" ,"Y", "BACK", "GUID", "START", "L3", "R3", "L1", "R1", "UP", "DOWN", "LEFT", "RIGHT", "15"};
1309+
static const char* gamepad_names[16] = {"A", "B", "X" ,"Y", "BACK", "GUIDE", "START", "L3", "R3", "L1", "R1", "UP", "DOWN", "LEFT", "RIGHT", "15"};
13101310

13111311
const char* button_name = (*button >= 0 && *button < 16) ? gamepad_names[*button] : "";
13121312

0 commit comments

Comments
 (0)