TextDocumentView: Fix detecting pressed Shift-key.

This commit is contained in:
Stephan Aßmus
2013-12-07 15:12:05 +01:00
parent 2201cea886
commit 64e87fbaca
@@ -97,7 +97,7 @@ TextDocumentView::MouseDown(BPoint where)
{ {
int32 modifiers = 0; int32 modifiers = 0;
if (Window() != NULL && Window()->CurrentMessage() != NULL) if (Window() != NULL && Window()->CurrentMessage() != NULL)
Window()->CurrentMessage()->FindInt32("modifiers", modifiers); Window()->CurrentMessage()->FindInt32("modifiers", &modifiers);
fMouseDown = true; fMouseDown = true;
SetMouseEventMask(B_POINTER_EVENTS, B_LOCK_WINDOW_FOCUS); SetMouseEventMask(B_POINTER_EVENTS, B_LOCK_WINDOW_FOCUS);