Skip to content

Commit

Permalink
Merge pull request #920 from LeeRiva/Win32_XBUTTON
Browse files Browse the repository at this point in the history
[FIXED] typos
  • Loading branch information
robertosfield authored Aug 21, 2023
2 parents 1d8c7d3 + 1a5f0c9 commit 55af01d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vsg/platform/xcb/Xcb_Window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ bool Xcb_Window::pollEvents(UIEvents& events)
{
uint16_t button = button_press->detail;

// remap 8, 9 tp 4 and 5 to be consistent with Windows treatment of the XButtons
// remap 8, 9 to 4 and 5 to be consistent with Windows treatment of the XButtons
if (button==8) button = 4;
if (button==9) button = 5;

Expand All @@ -741,7 +741,7 @@ bool Xcb_Window::pollEvents(UIEvents& events)

uint16_t button = button_release->detail;

// remap 8, 9 tp 4 and 5 to be consistent with Windows treatment of the XButtons
// remap 8, 9 to 4 and 5 to be consistent with Windows treatment of the XButtons
if (button==8) button = 4;
if (button==9) button = 5;

Expand Down

0 comments on commit 55af01d

Please sign in to comment.