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;