diff --git a/.idea/vcs.xml b/.idea/vcs.xml index eeaf094c6..c740933b0 100644 --- a/.idea/vcs.xml +++ b/.idea/vcs.xml @@ -8,6 +8,7 @@ + diff --git a/lib/external/pattern_language b/lib/external/pattern_language index 82fa40f9f..259035742 160000 --- a/lib/external/pattern_language +++ b/lib/external/pattern_language @@ -1 +1 @@ -Subproject commit 82fa40f9f8395c1b9e9c364841c8d3f8735b58c7 +Subproject commit 25903574214e83bf4dddca1755c249be11298bba diff --git a/plugins/builtin/source/content/helpers/pattern_drawer.cpp b/plugins/builtin/source/content/helpers/pattern_drawer.cpp index 04ede97d0..f4496e253 100644 --- a/plugins/builtin/source/content/helpers/pattern_drawer.cpp +++ b/plugins/builtin/source/content/helpers/pattern_drawer.cpp @@ -368,7 +368,7 @@ namespace hex { void PatternDrawer::drawArrayNode(u64 idx, u64& displayEnd, pl::ptrn::Pattern& pattern) { u64 lastVisible = displayEnd - 1; - ImGui::PushID(&pattern); + ImGui::PushID(reinterpret_cast(pattern.getOffset())); if (idx < lastVisible) { this->draw(pattern);