mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
win32_menu: add missing parentheses in mapMenu()
`|' has higher precedence than `?'. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
2b4acd26b1
commit
5db710a823
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ static void
|
|||
mapMenu(GLUTmenu * menu, int x, int y)
|
||||
{
|
||||
TrackPopupMenu((HMENU) menu->win, TPM_LEFTALIGN |
|
||||
(__glutMenuButton == TPM_RIGHTBUTTON) ? TPM_RIGHTBUTTON : TPM_LEFTBUTTON,
|
||||
((__glutMenuButton == TPM_RIGHTBUTTON) ? TPM_RIGHTBUTTON : TPM_LEFTBUTTON),
|
||||
x, y, 0, __glutCurrentWindow->win, NULL);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue