[haiku-commits] haiku: hrev46505 - src/apps/haiku-depot/textview

  • From: superstippi@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 7 Dec 2013 15:12:54 +0100 (CET)

hrev46505 adds 1 changeset to branch 'master'
old head: 2201cea8866c1c86ef88461bdb4b8b90efcbaf34
new head: 64e87fbaca6423051f9b8135058d65e7809a4e46
overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=64e87fb+%5E2201cea

----------------------------------------------------------------------------

64e87fb: TextDocumentView: Fix detecting pressed Shift-key.

                                      [ Stephan Aßmus <superstippi@xxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev46505
Commit:      64e87fbaca6423051f9b8135058d65e7809a4e46
URL:         http://cgit.haiku-os.org/haiku/commit/?id=64e87fb
Author:      Stephan Aßmus <superstippi@xxxxxx>
Date:        Sat Dec  7 14:12:05 2013 UTC

----------------------------------------------------------------------------

1 file changed, 1 insertion(+), 1 deletion(-)
src/apps/haiku-depot/textview/TextDocumentView.cpp | 2 +-

----------------------------------------------------------------------------

diff --git a/src/apps/haiku-depot/textview/TextDocumentView.cpp 
b/src/apps/haiku-depot/textview/TextDocumentView.cpp
index fcfbbfd..727801e 100644
--- a/src/apps/haiku-depot/textview/TextDocumentView.cpp
+++ b/src/apps/haiku-depot/textview/TextDocumentView.cpp
@@ -97,7 +97,7 @@ TextDocumentView::MouseDown(BPoint where)
 {
        int32 modifiers = 0;
        if (Window() != NULL && Window()->CurrentMessage() != NULL)
-               Window()->CurrentMessage()->FindInt32("modifiers", modifiers);
+               Window()->CurrentMessage()->FindInt32("modifiers", &modifiers);
        
        fMouseDown = true;
        SetMouseEventMask(B_POINTER_EVENTS, B_LOCK_WINDOW_FOCUS);


Other related posts:

  • » [haiku-commits] haiku: hrev46505 - src/apps/haiku-depot/textview - superstippi