summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2024-02-18 15:53:54 +0200
committerAndrey Lihatskiy <alihatskiy@productengine.com>2024-02-18 15:56:31 +0200
commit2817d6c67d65bee9cae8f0d77e229ccf8eaa286f (patch)
tree7d97c4d09558164cbc946031cfa9b6dba6dbdc26
parent238d0b27375c5293702925142f55f8575f630ae0 (diff)
viewer#831 Xcode buildfix
-rw-r--r--indra/llwindow/llwindowmacosx-objc.h2
-rw-r--r--indra/newview/llviewermedia.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/indra/llwindow/llwindowmacosx-objc.h b/indra/llwindow/llwindowmacosx-objc.h
index 77024d3a9c..f9a7a098cb 100644
--- a/indra/llwindow/llwindowmacosx-objc.h
+++ b/indra/llwindow/llwindowmacosx-objc.h
@@ -37,7 +37,7 @@
typedef std::vector<std::pair<int, bool> > segment_t;
typedef std::vector<int> segment_lengths;
-typedef std::vector<int> segment_standouts;
+typedef std::vector<bool> segment_standouts;
struct attributedStringInfo {
segment_lengths seg_lengths;
diff --git a/indra/newview/llviewermedia.cpp b/indra/newview/llviewermedia.cpp
index 53d8d3076c..6a4b3dfb5b 100644
--- a/indra/newview/llviewermedia.cpp
+++ b/indra/newview/llviewermedia.cpp
@@ -2345,7 +2345,7 @@ bool LLViewerMediaImpl::handleMouseUp(S32 x, S32 y, MASK mask)
if(hasMouseCapture())
{
// Release the mouse -- this will also send a mouseup to the media
- gFocusMgr.setMouseCapture( false );
+ gFocusMgr.setMouseCapture( nullptr );
}
return true;