diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-18 21:43:20 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-18 21:43:20 +0000 |
commit | edabdae3199e78bb6287ab80030ef5856c566db6 (patch) | |
tree | bc3baf35e22e5e8a4cb96cac1ac82b9894422964 /webkit | |
parent | a77c2c5fb4a72ba4234fd6f3ae5c28c14428d3e4 (diff) | |
download | chromium_src-edabdae3199e78bb6287ab80030ef5856c566db6.zip chromium_src-edabdae3199e78bb6287ab80030ef5856c566db6.tar.gz chromium_src-edabdae3199e78bb6287ab80030ef5856c566db6.tar.bz2 |
Fix typo. The right button is pressed when MK_RBUTTON is set.
R=jam
Review URL: http://codereview.chromium.org/115479
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16331 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/api/src/win/WebInputEventFactory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/api/src/win/WebInputEventFactory.cpp b/webkit/api/src/win/WebInputEventFactory.cpp index d772a54..96fa197 100644 --- a/webkit/api/src/win/WebInputEventFactory.cpp +++ b/webkit/api/src/win/WebInputEventFactory.cpp @@ -170,7 +170,7 @@ WebMouseEvent WebInputEventFactory::mouseEvent(HWND hwnd, UINT message, else if (wparam & MK_MBUTTON) result.button = WebMouseEvent::ButtonMiddle; else if (wparam & MK_RBUTTON) - result.button = WebMouseEvent::ButtonMiddle; + result.button = WebMouseEvent::ButtonRight; else result.button = WebMouseEvent::ButtonNone; break; |