Fix cocoa compile error
This commit is contained in:
@@ -399,9 +399,9 @@ QZ_MouseButtonEvent(int button, BOOL down)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default: {
|
default: {
|
||||||
int button = CM_WKC_MOUSE_OTHER_START + ev.button.button - 3;
|
int cm_button = CM_WKC_MOUSE_OTHER_START + button - 3;
|
||||||
if (!down && button >= CM_WKC_MOUSE_OTHER_START && button < CM_WKC_MOUSE_OTHER_END) {
|
if (!down && cm_button >= CM_WKC_MOUSE_OTHER_START && cm_button < CM_WKC_MOUSE_OTHER_END) {
|
||||||
HandleKeypress(button, 0);
|
HandleKeypress(cm_button, 0);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user