From 4bf5fb92520ef0d519117343134a921baaa6e5b6 Mon Sep 17 00:00:00 2001 From: John Scipione Date: Thu, 5 Jun 2014 18:02:33 -0400 Subject: [PATCH] Revert "Fix #10902 Terminal crashes setting window size." This reverts commit 4c8d2387169eb503e9a4a347645dd37c238d1c8a. --- src/apps/terminal/TermViewStates.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/apps/terminal/TermViewStates.cpp b/src/apps/terminal/TermViewStates.cpp index daaa697ca5..93b19c2eeb 100644 --- a/src/apps/terminal/TermViewStates.cpp +++ b/src/apps/terminal/TermViewStates.cpp @@ -966,10 +966,10 @@ TermView::HyperLinkState::_EntryExists(const BString& path, void TermView::HyperLinkState::_UpdateHighlight() { - if (fView == NULL) - return; - - _UpdateHighlight(fView->fLastClickPoint, fView->fModifiers); + BPoint where; + uint32 buttons; + fView->GetMouse(&where, &buttons, false); + _UpdateHighlight(where, fView->fModifiers); }