summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Potchik <brian@vector35.com>2023-10-02 11:34:09 -0400
committerBrian Potchik <brian@vector35.com>2023-10-02 11:34:09 -0400
commitd8be471051fa801ce12bdeb1a1657a8968937586 (patch)
treebd51efdd92bacfaa2092ddf1c6b6bd1d7fefebc2
parentc2b79f5927eaafd51fd6371a0ca1ea72a372d608 (diff)
Default constructed ViewLocations should have an unspecified IL view type.
-rw-r--r--ui/viewframe.h2
1 files changed, 1 insertions, 1 deletions
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: