From d8be471051fa801ce12bdeb1a1657a8968937586 Mon Sep 17 00:00:00 2001 From: Brian Potchik Date: Mon, 2 Oct 2023 11:34:09 -0400 Subject: Default constructed ViewLocations should have an unspecified IL view type. --- ui/viewframe.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/viewframe.h b/ui/viewframe.h index 0a9f9020..59e45a75 100644 --- a/ui/viewframe.h +++ b/ui/viewframe.h @@ -285,7 +285,7 @@ class BINARYNINJAUIAPI ViewLocation QString m_viewType; FunctionRef m_function = nullptr; uint64_t m_offset = 0; - BNFunctionGraphType m_ilViewType = NormalFunctionGraph; + BNFunctionGraphType m_ilViewType = InvalidILViewType; size_t m_instrIndex = BN_INVALID_EXPR; public: -- cgit v1.3.1