From a326b4f1b1566547f1ce10e1864758341489af5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Wed, 15 Oct 2008 11:53:43 +0000 Subject: [PATCH] Fix the BeOS build. Yeah I know I'm the only one building Terminal on Zeta... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28126 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/terminal/TermScrollView.cpp | 3 +++ src/apps/terminal/TermView.cpp | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/apps/terminal/TermScrollView.cpp b/src/apps/terminal/TermScrollView.cpp index 77f193e1b0..12fc1abaa1 100644 --- a/src/apps/terminal/TermScrollView.cpp +++ b/src/apps/terminal/TermScrollView.cpp @@ -11,6 +11,9 @@ #include "TermScrollView.h" +#ifndef __HAIKU__ +#define fVerticalScrollBar fVSB +#endif class TermScrollBar : public BScrollBar { public: diff --git a/src/apps/terminal/TermView.cpp b/src/apps/terminal/TermView.cpp index b0c66aad35..fc75087da7 100644 --- a/src/apps/terminal/TermView.cpp +++ b/src/apps/terminal/TermView.cpp @@ -1517,8 +1517,9 @@ TermView::MessageReceived(BMessage *msg) case MSG_REMOVE_RESIZE_VIEW_IF_NEEDED: { + BPoint point; uint32 buttons; - GetMouse(NULL, &buttons, false); + GetMouse(&point, &buttons, false); if (buttons != 0) break;