From 65b4ba79399f98a8104c1aa016efcef7fe3a2d32 Mon Sep 17 00:00:00 2001 From: Matt Gajownik Date: Wed, 5 Jan 2022 17:12:55 +1100 Subject: [PATCH] UI: Fix compile error in UpdateEditMenu from rebase --- UI/window-basic-main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/window-basic-main.cpp b/UI/window-basic-main.cpp index 8852f6d12..dc9b48094 100644 --- a/UI/window-basic-main.cpp +++ b/UI/window-basic-main.cpp @@ -7791,7 +7791,7 @@ void OBSBasic::UpdateEditMenu() OBSSourceAutoRelease strong = obs_weak_source_get_source(weak.Get()); if (allowPastingDuplicate && - obs_source_get_output_flags(source) & + obs_source_get_output_flags(strong) & OBS_SOURCE_DO_NOT_DUPLICATE) allowPastingDuplicate = false; }